From fb1cb2e2f3af4a7bc5717e31b31175d850dd7be9 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Wed, 9 Dec 2015 08:47:45 -0500 Subject: Made sword swing at screen fps --- main.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index bde880d..b28a8da 100644 --- a/main.cpp +++ b/main.cpp @@ -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){ /* -- cgit v1.2.3