aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-11-14 01:15:55 -0300
committerjoschiwald <joschiwald.trinity@gmail.com>2017-12-30 20:34:55 +0100
commit169243852d985e29cf0226a4e7767361a0bac3df (patch)
tree6332b812fb5058147c07d07435862b1e1b44dffc /src
parent7fd83b8c0f1f1b11666669fd5c94833bd030ea2a (diff)
Core/Globals: Load spellspecific and aurastate after loading spell ranks
Was breaking functionality (eg: stacking scroll auras) (cherry picked from commit b99ca19eea9b62a907d5daed39d823be00607eec)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/World/World.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/World/World.cpp b/src/server/game/World/World.cpp
index f1eeb59338d..3d795297b71 100644
--- a/src/server/game/World/World.cpp
+++ b/src/server/game/World/World.cpp
@@ -1595,9 +1595,6 @@ void World::SetInitialWorldSettings()
TC_LOG_INFO("server.loading", "Loading SpellInfo custom attributes...");
sSpellMgr->LoadSpellInfoCustomAttributes();
- TC_LOG_INFO("server.loading", "Loading SpellInfo SpellSpecific and AuraState...");
- sSpellMgr->LoadSpellInfoSpellSpecificAndAuraState();
-
TC_LOG_INFO("server.loading", "Loading SpellInfo diminishing infos...");
sSpellMgr->LoadSpellInfoDiminishing();
@@ -1665,6 +1662,9 @@ void World::SetInitialWorldSettings()
TC_LOG_INFO("server.loading", "Loading Spell Learn Skills...");
sSpellMgr->LoadSpellLearnSkills(); // must be after LoadSpellRanks
+ TC_LOG_INFO("server.loading", "Loading SpellInfo SpellSpecific and AuraState...");
+ sSpellMgr->LoadSpellInfoSpellSpecificAndAuraState(); // must be after LoadSpellRanks
+
TC_LOG_INFO("server.loading", "Loading Spell Learn Spells...");
sSpellMgr->LoadSpellLearnSpells();