diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-01-12 08:49:12 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-01-12 08:49:12 -0500 |
commit | 599425c0380630197005c9ecc86604396d612f81 (patch) | |
tree | e9660c0b9c0ae1c015e2c25281e758ff75018604 /src/ui.cpp | |
parent | 1574754cdaca14d68459cc520b63b6b3c449ecbd (diff) |
inside?
Diffstat (limited to 'src/ui.cpp')
-rw-r--r-- | src/ui.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -718,8 +718,9 @@ DONE: //delete &tmp; toggleBlackFast(); } - }else + }else{ currentWorld=currentWorld->goInsideStructure(player); + } break; case SDLK_i: currentWorld=currentWorld->goWorldBack(player); // Go back a layer if possible @@ -823,7 +824,7 @@ DONE: 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); + //currentWorld->addStructure(LAMP_POST, player->loc.x, player->loc.y, currentWorld); break; default: break; |