diff options
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index a6ede8245..6aa4c8afb 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -682,7 +682,11 @@ void SkillDialog::updateTabSelection() } } -void SkillDialog::updateQuest(const int var, const int val) +void SkillDialog::updateQuest(const int var, + const int val1, + const int val2 A_UNUSED, + const int val3 A_UNUSED, + const int time A_UNUSED) { const int id = var + SKILL_VAR_MIN_ID; const SkillMap::const_iterator it = mSkills.find(id); @@ -692,8 +696,8 @@ void SkillDialog::updateQuest(const int var, const int val) SkillInfo *const info = it->second; if (info) { - PlayerInfo::setSkillLevel(id, val); - info->level = val; + PlayerInfo::setSkillLevel(id, val1); + info->level = val1; info->update(); } } |