Core: Fix build

This commit is contained in:
Vincent_Michael
2012-12-28 19:11:55 +01:00
parent 3375f56bf8
commit 9281eb42da

View File

@@ -877,7 +877,7 @@ public:
if (spellInfo)
{
int locale = handler->GetSessionDbcLocale();
std::string name = spellInfo->SpellName[locale];
std::string name = spellInfo->SpellName;
if (name.empty())
{
handler->SendSysMessage(LANG_COMMAND_NOSPELLFOUND);