summaryrefslogtreecommitdiff
path: root/src/game-server/quest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/quest.cpp')
-rw-r--r--src/game-server/quest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/quest.cpp b/src/game-server/quest.cpp
index 0a7b02f9..e4607c6a 100644
--- a/src/game-server/quest.cpp
+++ b/src/game-server/quest.cpp
@@ -69,7 +69,7 @@ void setQuestVar(Character *ch, const std::string &name,
{
i->second = value;
}
- accountHandler->updateQuestVar(ch, name, value);
+ accountHandler->updateCharacterVar(ch, name, value);
}
/**
@@ -126,7 +126,7 @@ void recoverQuestVar(Character *ch, const std::string &name,
ch->addListener(&questDeathListener);
}
i->second.variables[name].push_back(f);
- accountHandler->requestQuestVar(ch, name);
+ accountHandler->requestCharacterVar(ch, name);
}
void recoveredQuestVar(int id, const std::string &name,