Scripts/Commands: Fixed remaining crashes caused by removal of dbc locales

This commit is contained in:
Shauren committed 2012-08-16 13:27:54 +02:00
1 parent 137d973e5d
commit 21b1b72a6b
6 files changed
+15 -37

No files matched your search

+1 -1
View File
@@ -1231,7 +1231,7 @@ public:
if (factionEntry->reputationListID < 0)
{
handler->PSendSysMessage(LANG_COMMAND_FACTION_NOREP_ERROR, factionEntry->name[handler->GetSessionDbcLocale()], factionId);
handler->PSendSysMessage(LANG_COMMAND_FACTION_NOREP_ERROR, factionEntry->name, factionId);
handler->SetSentErrorMessage(true);
return false;
}