diff options
author | megamage <none@none> | 2009-01-05 19:14:30 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-05 19:14:30 -0600 |
commit | cb0319382240d21381335f5d70a8dfd8bcf04feb (patch) | |
tree | add2d5bb9ec7c46cb440dcb933c1fc8d3ade2626 /src/bindings/scripts/ScriptMgr.cpp | |
parent | 2df010e231c323587f586a1d43f44f7553796baa (diff) |
*Remove emote column from eventai_texts for compatibility with ACID.
--HG--
branch : trunk
Diffstat (limited to 'src/bindings/scripts/ScriptMgr.cpp')
-rw-r--r-- | src/bindings/scripts/ScriptMgr.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bindings/scripts/ScriptMgr.cpp b/src/bindings/scripts/ScriptMgr.cpp index e605dd2d5a4..663836514ca 100644 --- a/src/bindings/scripts/ScriptMgr.cpp +++ b/src/bindings/scripts/ScriptMgr.cpp @@ -656,7 +656,8 @@ void LoadDatabase() LoadTrinityStrings(TScriptDB,"eventai_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 eventai_texts"); + result = TScriptDB.PQuery("SELECT entry, sound, type, language FROM eventai_texts"); outstring_log("TSCR: Loading EventAI Texts additional data..."); if (result) @@ -674,7 +675,7 @@ void LoadDatabase() temp.SoundId = fields[1].GetInt32(); temp.Type = fields[2].GetInt32(); temp.Language = fields[3].GetInt32(); - temp.Emote = fields[4].GetInt32(); + temp.Emote = 0;//fields[4].GetInt32(); if (i >= 0) { |