From c1774c591f7897c1cfa28e05fdb7c72e07890933 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Tue, 19 Jan 2016 13:20:45 -0500 Subject: Color Index can be used to color anything with a solid color --- src/ui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui.cpp') diff --git a/src/ui.cpp b/src/ui.cpp index eecd7ef..6dd5cd7 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -835,6 +835,7 @@ DONE: break; case SDLK_b: currentWorld->addStructure(FIRE_PIT, player->loc.x, player->loc.y, NULL); + currentWorld->addLight({player->loc.x + SCREEN_WIDTH/2, player->loc.y},{1.0f,1.0f,1.0f}); break; case SDLK_F12: std::cout << "Took screenshot" << std::endl; -- cgit v1.2.3