diff options
Diffstat (limited to 'src/ui.cpp')
-rw-r--r-- | src/ui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -265,6 +265,9 @@ namespace ui { if(SDL_KEY==SDLK_q){ player->inv->itemToss(); } + if(SDL_KEY==SDLK_e){ + player->inv->useItem(); + } if(SDL_KEY==SDLK_c){ dialogBox("","You pressed `c`, but nothing happened."); } |