aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r--src/game/SpellMgr.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 532eb839af1..2922208b963 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2087,10 +2087,9 @@ void SpellMgr::LoadSpellLinked()
continue;
}
- SpellLinkedSpell linkedSpell;
- linkedSpell.spell = effect;
- linkedSpell.type = type;
- mSpellLinkedMap[trigger] = linkedSpell;
+ if(type) //we will find a better way when more types are needed
+ trigger += 1000000;
+ mSpellLinkedMap[trigger].push_back(effect);
++count;
} while( result->NextRow() );