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, 3 insertions, 0 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 9ab8141..14ad64b 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -612,6 +612,9 @@ DONE:
if((e.button.button&SDL_BUTTON_RIGHT)&&dialogBoxExists){
dialogAdvance();
}
+ if((e.button.button&SDL_BUTTON_LEFT)&&!dialogBoxExists){
+ player->inv->usingi = true;
+ }
break;
/*
KEYDOWN