aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-01-19 13:20:45 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-01-19 13:20:45 -0500
commitc1774c591f7897c1cfa28e05fdb7c72e07890933 (patch)
treeec37af95646fbaeaeea291ee1ecb0e3dec5915cf /src/ui.cpp
parentfbd4ddbab2cc3a713430483b24642cbbc7050f0c (diff)
Color Index can be used to color anything with a solid color
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp1
1 files changed, 1 insertions, 0 deletions
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;