aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-11-05 09:24:36 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-11-05 09:24:36 -0500
commitf2886601e15f41938c6735feb552e831ffeeefc1 (patch)
tree57ce70baa6d3ad98f94ab37a47927ea4705befb6 /src
parent763c18abe97ccaaf977cb4d09d53ef3b230100d7 (diff)
Fixed the hand angle and made the flashlight, kinda okay
Diffstat (limited to 'src')
-rw-r--r--src/ui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index d6556e3..7329f6a 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -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;