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