From bfafd879a178d256dcd1d905cd8c3825d31fde16 Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Sun, 12 Apr 2009 23:07:27 +0200 Subject: * eventai_texts -> creature_ai_texts -- as requested by X-Savior. --HG-- branch : trunk --- src/bindings/scripts/ScriptMgr.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/bindings/scripts/ScriptMgr.cpp') diff --git a/src/bindings/scripts/ScriptMgr.cpp b/src/bindings/scripts/ScriptMgr.cpp index 654a07107dc..fa3b2466db9 100644 --- a/src/bindings/scripts/ScriptMgr.cpp +++ b/src/bindings/scripts/ScriptMgr.cpp @@ -646,10 +646,10 @@ void LoadDatabase() // Load EventAI Text outstring_log("TSCR: Loading EventAI Texts..."); - LoadTrinityStrings(TScriptDB,"eventai_texts",-1,1+(TEXT_SOURCE_RANGE)); + LoadTrinityStrings(TScriptDB,"creature_ai_texts",-1,1+(TEXT_SOURCE_RANGE)); // Gather Additional data from EventAI Texts - result = TScriptDB.PQuery("SELECT entry, sound, type, language, emote FROM eventai_texts"); + result = TScriptDB.PQuery("SELECT entry, sound, type, language, emote FROM creature_ai_texts"); outstring_log("TSCR: Loading EventAI Texts additional data..."); if (result) @@ -671,27 +671,27 @@ void LoadDatabase() if (i >= 0) { - error_db_log("TSCR: Entry %i in table `eventai_texts` is not a negative value.",i); + error_db_log("TSCR: Entry %i in table `creature_ai_texts` is not a negative value.",i); continue; } if (i <= TEXT_SOURCE_RANGE) { - error_db_log("TSCR: Entry %i in table `eventai_texts` is out of accepted entry range for table.",i); + error_db_log("TSCR: Entry %i in table `creature_ai_texts` is out of accepted entry range for table.",i); continue; } if (temp.SoundId) { if (!GetSoundEntriesStore()->LookupEntry(temp.SoundId)) - error_db_log("TSCR: Entry %i in table `eventai_texts` has soundId %u but sound does not exist.",i,temp.SoundId); + error_db_log("TSCR: Entry %i in table `creature_ai_texts` has soundId %u but sound does not exist.",i,temp.SoundId); } if (!GetLanguageDescByID(temp.Language)) - error_db_log("TSCR: Entry %i in table `eventai_texts` using Language %u but Language does not exist.",i,temp.Language); + error_db_log("TSCR: Entry %i in table `creature_ai_texts` using Language %u but Language does not exist.",i,temp.Language); if (temp.Type > CHAT_TYPE_BOSS_WHISPER) - error_db_log("TSCR: Entry %i in table `eventai_texts` has Type %u but this Chat Type does not exist.",i,temp.Type); + error_db_log("TSCR: Entry %i in table `creature_ai_texts` has Type %u but this Chat Type does not exist.",i,temp.Type); TextMap[i] = temp; ++count; @@ -706,7 +706,7 @@ void LoadDatabase() barGoLink bar(1); bar.step(); outstring_log(""); - outstring_log(">> Loaded 0 additional EventAI Texts data. DB table `eventai_texts` is empty."); + outstring_log(">> Loaded 0 additional EventAI Texts data. DB table `creature_ai_texts` is empty."); } // Load Script Text -- cgit v1.2.3