aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQAston <none@none>2009-01-10 12:52:42 +0100
committerQAston <none@none>2009-01-10 12:52:42 +0100
commitc51cda166bdc57d8d8d05530edfe72b3fc1a7d03 (patch)
treecbdb571f9694946d1aebf79e10c76c1d740f521a /src
parent35b8de046e3461adc982a0c35364f6c95f81cf00 (diff)
*Try to fix bug that not every modifier is added to spell.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellMgr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 91da024b111..2ebb273ed19 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -1350,6 +1350,7 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2, bool
if(!spellInfo_1->SpellFamilyName)
{
if(!spellInfo_1->SpellIconID
+ || spellInfo_1->SpellIconID == 1
|| spellInfo_1->SpellIconID != spellInfo_2->SpellIconID)
return false;
}