aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-04-28 10:31:16 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-04-28 10:31:16 -0400
commit2e026aff928b30267a39ef6fdeec3e43e9f106e6 (patch)
treeb787550264cb3f1a88401f0240968c99b5138237 /src/ui.cpp
parent53800e07513f4a625ba70ff7d805d158a6b42121 (diff)
New inventory system
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 8d3762d..6465730 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -960,7 +960,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 &&