From 0a30bd1b2e2f02b6f34225d8976f645c99b53b7e Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Fri, 20 Nov 2015 08:47:34 -0500 Subject: Started inv ui, new item system --- src/Quest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Quest.cpp') diff --git a/src/Quest.cpp b/src/Quest.cpp index a361418..5fd7726 100644 --- a/src/Quest.cpp +++ b/src/Quest.cpp @@ -85,7 +85,7 @@ int QuestHandler::finish(const char *t,void *completer){ #ifdef DEBUG DEBUG_printf("Completing quest %s.\n",t); #endif // DEBUG - ((Entity *)completer)->inv->addItem(current[i]->reward.id,current[i]->reward.count); + ((Entity *)completer)->inv->addItem(current[i]->reward.itmid,current[i]->reward.count); current.erase(current.begin()+i); #ifdef DEBUG DEBUG_printf("QuestHandler now has %u active quests.\n",current.size()); -- cgit v1.2.3