aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 64ebe92..0d01033 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -822,6 +822,9 @@ DONE:
case SDLK_f:
currentWorld->addLight({player->loc.x + SCREEN_WIDTH/2, player->loc.y},{1.0f,1.0f,1.0f});
break;
+ case SDLK_g:
+ currentWorld->addStructure(LAMP_POST, player->loc.x, player->loc.y, currentWorld);
+ break;
default:
break;
}