aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-12-09 08:47:45 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-12-09 08:47:45 -0500
commitfb1cb2e2f3af4a7bc5717e31b31175d850dd7be9 (patch)
treed764bff2b43e57056e4d848887119f162b93486f /main.cpp
parent0f6da32aa634cf4a89dbd205d8b0dd68d401aaec (diff)
Made sword swing at screen fps
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 0 insertions, 5 deletions
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){
/*