diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-11-20 08:47:34 -0500 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-11-20 08:47:34 -0500 |
commit | 0a30bd1b2e2f02b6f34225d8976f645c99b53b7e (patch) | |
tree | 16a47672bf5f5bc65efb245b2e9d84a08c1ce2a6 /src/Quest.cpp | |
parent | 20b29fccb6da62d5a07a02477fabac3a80d350dd (diff) |
Started inv ui, new item system
Diffstat (limited to 'src/Quest.cpp')
-rw-r--r-- | src/Quest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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());
|