aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level3.cpp
diff options
context:
space:
mode:
authorwin32 <>2010-01-21 11:19:34 +0200
committerwin32 <>2010-01-21 11:19:34 +0200
commit19ac6f6a3c5385d85edc5c831cd20d6e8ee406b8 (patch)
treed060f457e94b4270986f648877c3984de2152ba2 /src/game/Level3.cpp
parentce620223eba6857226e85c128f82546f89d3a760 (diff)
Implement new commands for add/remove/lookup titles.
Autor Vladimir. --HG-- branch : trunk
Diffstat (limited to 'src/game/Level3.cpp')
-rw-r--r--src/game/Level3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index f437eb5116c..2a01fbb2a2c 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -1612,7 +1612,7 @@ bool ChatHandler::HandleSetSkillCommand(const char *args)
if (!target->GetSkillValue(skill))
{
- PSendSysMessage(LANG_SET_SKILL_ERROR, tNameLink.c_str(), skill, sl->name[0]);
+ PSendSysMessage(LANG_SET_SKILL_ERROR, tNameLink.c_str(), skill, sl->name[GetSessionDbcLocale()]);
SetSentErrorMessage(true);
return false;
}
@@ -1623,7 +1623,7 @@ bool ChatHandler::HandleSetSkillCommand(const char *args)
return false;
target->SetSkill(skill, level, max);
- PSendSysMessage(LANG_SET_SKILL, skill, sl->name[0], tNameLink.c_str(), level, max);
+ PSendSysMessage(LANG_SET_SKILL, skill, sl->name[GetSessionDbcLocale()], tNameLink.c_str(), level, max);
return true;
}