From 2e026aff928b30267a39ef6fdeec3e43e9f106e6 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Thu, 28 Apr 2016 10:31:16 -0400 Subject: New inventory system --- src/ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui.cpp') 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 && -- cgit v1.2.3