From f2886601e15f41938c6735feb552e831ffeeefc1 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Thu, 5 Nov 2015 09:24:36 -0500 Subject: Fixed the hand angle and made the flashlight, kinda okay --- src/ui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3