aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-01-12 07:37:19 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-01-12 07:37:19 -0500
commite08983ddccf0beee79e63bdf3ef1b839ea947c7a (patch)
treef6906803251ae27bd17bcc11685a6d7bde88cfbb /src/ui.cpp
parent6bf27552a564297cd8aaf1e3c24d9320438bdcc5 (diff)
Light posts
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;
}