diff options
author | megamage <none@none> | 2009-05-09 22:00:18 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-09 22:00:18 -0500 |
commit | 67876f9dfe14783e9c81bf5a8bab6843d30b22bc (patch) | |
tree | 7c16c48aa18c93c0662993b922bb384340d8bffc /src/game/TemporarySummon.cpp | |
parent | 3b14179f65d3c0cd14604d8698d5af438cca25e3 (diff) |
*Fix a creature spell use bug.
--HG--
branch : trunk
Diffstat (limited to 'src/game/TemporarySummon.cpp')
-rw-r--r-- | src/game/TemporarySummon.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/game/TemporarySummon.cpp b/src/game/TemporarySummon.cpp index 14a347ee4bd..afea0e5ed53 100644 --- a/src/game/TemporarySummon.cpp +++ b/src/game/TemporarySummon.cpp @@ -208,10 +208,7 @@ void TempSummon::InitSummon() if(GetCreatureInfo()->flags_extra & CREATURE_FLAG_EXTRA_TRIGGER && m_spells[0]) { setFaction(owner->getFaction()); - if(m_spells[1] && GetMap()->IsHeroic()) - CastSpell(this, m_spells[1], false, 0, 0, m_summonerGUID); - else - CastSpell(this, m_spells[0], false, 0, 0, m_summonerGUID); + CastSpell(this, m_spells[0], false, 0, 0, m_summonerGUID); } } } |