From e08983ddccf0beee79e63bdf3ef1b839ea947c7a Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Tue, 12 Jan 2016 07:37:19 -0500 Subject: Light posts --- src/ui.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ui.cpp') 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; } -- cgit v1.2.3