aboutsummaryrefslogtreecommitdiffstats
path: root/src/Quest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Quest.cpp')
-rw-r--r--src/Quest.cpp2
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());