mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
*Remove emote column from eventai_texts for compatibility with ACID.
--HG-- branch : trunk
This commit is contained in:
1
sql/updates/789_world.sql
Normal file
1
sql/updates/789_world.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE eventai_texts DROP COLUMN emote;
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user