From d48b48bd9a0657b81af7769dbf364dcac69eb783 Mon Sep 17 00:00:00 2001 From: James Haley Date: Sun, 19 Sep 2010 21:46:22 +0000 Subject: Functional inventory status bar cursor and item rendering. Fix for P_GiveInventoryItem to return proper value at end of function. Subversion-branch: /branches/strife-branch Subversion-revision: 2124 --- src/strife/p_dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strife/p_dialog.c') diff --git a/src/strife/p_dialog.c b/src/strife/p_dialog.c index acd5a420..a7ef8107 100644 --- a/src/strife/p_dialog.c +++ b/src/strife/p_dialog.c @@ -686,7 +686,7 @@ boolean P_GiveInventoryItem(player_t *player, int sprnum, mobjtype_t type) else ok = false; - return true; + return ok; } // -- cgit v1.2.3