[c12589] Use proper error files for missing string errors

This commit is contained in:
Schmoozerd 2013-05-31 10:43:25 +01:00 committed by Antz
parent 39262d4e6a
commit 58ad20df80
3 changed files with 4 additions and 3 deletions

View file

@ -7742,9 +7742,9 @@ const char* ObjectMgr::GetMangosString(int32 entry, int locale_idx) const
else if (entry > 0)
sLog.outErrorDb("Entry %i not found in `mangos_string` table.", entry);
else if (entry > MAX_CREATURE_AI_TEXT_STRING_ID)
sLog.outErrorDb("Entry %i not found in `creature_ai_texts` table.", entry);
sLog.outErrorEventAI("Entry %i not found in `creature_ai_texts` table.", entry);
else
sLog.outErrorDb("Mangos string entry %i not found in DB.", entry);
sLog.outErrorScriptLib("String entry %i not found in Database.", entry);
return "<error>";
}