From a8169dcdf958be8ad933c15edf1a0d7dff1138b0 Mon Sep 17 00:00:00 2001 From: funjoker Date: Sat, 8 Oct 2016 11:58:35 +0200 Subject: Core/DataStores: Corrected SummonProperties.db2 structure Closes #18036 Closes #18040 --- src/server/database/Database/Implementation/HotfixDatabase.cpp | 2 +- src/server/game/DataStores/DB2Structure.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/server/database/Database/Implementation/HotfixDatabase.cpp b/src/server/database/Database/Implementation/HotfixDatabase.cpp index 60197392569..a5099a8c7f5 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.cpp +++ b/src/server/database/Database/Implementation/HotfixDatabase.cpp @@ -865,7 +865,7 @@ void HotfixDatabaseConnection::DoPrepareStatements() "Flags, ID FROM spell_x_spell_visual ORDER BY ID DESC", CONNECTION_SYNCH); // SummonProperties.db2 - PrepareStatement(HOTFIX_SEL_SUMMON_PROPERTIES, "SELECT ID, Category, Faction, Type, Slot, Flags FROM summon_properties ORDER BY ID DESC", CONNECTION_SYNCH); + PrepareStatement(HOTFIX_SEL_SUMMON_PROPERTIES, "SELECT ID, Flags, Category, Faction, Type, Slot FROM summon_properties ORDER BY ID DESC", CONNECTION_SYNCH); // TactKey.db2 PrepareStatement(HOTFIX_SEL_TACT_KEY, "SELECT ID, Key1, Key2, Key3, Key4, Key5, Key6, Key7, Key8, Key9, Key10, Key11, Key12, Key13, Key14, Key15, " diff --git a/src/server/game/DataStores/DB2Structure.h b/src/server/game/DataStores/DB2Structure.h index e9c02124ba0..3c5be5f8436 100644 --- a/src/server/game/DataStores/DB2Structure.h +++ b/src/server/game/DataStores/DB2Structure.h @@ -2546,11 +2546,11 @@ struct SpellXSpellVisualEntry struct SummonPropertiesEntry { uint32 ID; + uint32 Flags; uint32 Category; uint32 Faction; uint32 Type; int32 Slot; - uint32 Flags; }; #define TACTKEY_SIZE 16 -- cgit v1.2.3