diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-12-09 08:47:45 -0500 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-12-09 08:47:45 -0500 |
commit | fb1cb2e2f3af4a7bc5717e31b31175d850dd7be9 (patch) | |
tree | d764bff2b43e57056e4d848887119f162b93486f /main.cpp | |
parent | 0f6da32aa634cf4a89dbd205d8b0dd68d401aaec (diff) |
Made sword swing at screen fps
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -829,11 +829,6 @@ void logic(){ * click detection is done as well for NPC/player interaction. * */ - if((SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(SDL_BUTTON_LEFT)) && !ui::dialogBoxExists)player->inv->usingi = true; - if(player->inv->usingi){ - player->inv->useItem(); - } - for(auto &n : currentWorld->npc){ if(n->alive){ /* |