diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2016-01-12 07:37:19 -0500 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2016-01-12 07:37:19 -0500 |
commit | e08983ddccf0beee79e63bdf3ef1b839ea947c7a (patch) | |
tree | f6906803251ae27bd17bcc11685a6d7bde88cfbb /src/ui.cpp | |
parent | 6bf27552a564297cd8aaf1e3c24d9320438bdcc5 (diff) |
Light posts
Diffstat (limited to 'src/ui.cpp')
-rw-r--r-- | src/ui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |