aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
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;