diff options
author | funjoker <torti-esser@web.de> | 2016-10-08 11:58:35 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-10-08 11:58:35 +0200 |
commit | a8169dcdf958be8ad933c15edf1a0d7dff1138b0 (patch) | |
tree | 4d1573231f4a2bbe43d79406aca74700f1ab3a7f /src | |
parent | 50016bf9964e0bc95a3df82734d734e2af6a6aec (diff) |
Core/DataStores: Corrected SummonProperties.db2 structure
Closes #18036
Closes #18040
Diffstat (limited to 'src')
-rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.cpp | 2 | ||||
-rw-r--r-- | src/server/game/DataStores/DB2Structure.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 |