diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index ba3ffdecd..1ef85b0b4 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -7566,8 +7566,12 @@ const char *ObjectMgr::GetMangosString(int32 entry, int locale_idx) const return msl->Content[0].c_str(); } - if(entry > 0) + if(entry > MIN_DB_SCRIPT_STRING_ID) + sLog.outErrorDb("Entry %i not found in `db_script_string` table.",entry); + 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); else sLog.outErrorDb("Mangos string entry %i not found in DB.",entry); return "";