aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
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){
/*