Merge pull request #5631 from joschiwald/crashfix

Core/CreatureTextMgr: Fix crash in GetLocalizedChatString()
This commit is contained in:
Shauren
2012-03-11 07:18:38 -07:00
+1 -2
View File
@@ -453,8 +453,7 @@ std::string CreatureTextMgr::GetLocalizedChatString(uint32 entry, uint8 textGrou
if (locItr == mLocaleTextMap.end())
return baseText;
if (locItr->second.Text[locale].length())
return locItr->second.Text[locale];
ObjectMgr::GetLocaleString(locItr->second.Text, locale, baseText);
return baseText;
}