aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 48c260b..0f81f34 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -964,7 +964,8 @@ EXIT:
} else {
// left click uses item
if (e.button.button & SDL_BUTTON_LEFT)
- player->inv->useCurrent();
+ if(!player->inv->usingi)
+ player->inv->useCurrent();
}
if(mouse.x > player->loc.x && mouse.x < player->loc.x + player->width &&