diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-11-05 09:24:36 -0500 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-11-05 09:24:36 -0500 |
commit | f2886601e15f41938c6735feb552e831ffeeefc1 (patch) | |
tree | 57ce70baa6d3ad98f94ab37a47927ea4705befb6 /src | |
parent | 763c18abe97ccaaf977cb4d09d53ef3b230100d7 (diff) |
Fixed the hand angle and made the flashlight, kinda okay
Diffstat (limited to 'src')
-rw-r--r-- | src/ui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -326,6 +326,7 @@ namespace ui { if(SDL_KEY==SDLK_LSHIFT)player->speed = 1; if(SDL_KEY==SDLK_LCTRL)player->speed = 1; if(SDL_KEY==SDLK_h)player->health-=5; + if(SDL_KEY==SDLK_f)player->light ^= true; break; default: break; |