aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 25b792b..fe5414c 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -236,6 +236,7 @@ namespace ui {
if(!left&&!right)player->vel.x=0;
if(SDL_KEY==SDLK_LSHIFT)player->speed = 1;
if(SDL_KEY==SDLK_LCTRL)player->speed = 1;
+ if(SDL_KEY==SDLK_h)player->health-=5;
break;
default:
break;