diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-11-20 08:58:44 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-11-20 08:58:44 -0500 |
commit | 19ef54b2c5ffcaefdce352c6f195a62c05c42767 (patch) | |
tree | 2c8dbf3aea3539d2f4c6db3ef56eb1880fd14786 /src/Quest.cpp | |
parent | 6be7b11513cdedc17358da314c6e5a5630be00c1 (diff) | |
parent | cc4cd76409894615887e0b39d7db5b722138a613 (diff) |
inv/background merge
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());
|