aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorkrz <none@none>2009-06-17 00:50:11 +0200
committerkrz <none@none>2009-06-17 00:50:11 +0200
commit0d8a66de8cd75538fc445167623d7b4d9d4963b5 (patch)
tree17ebbf2aeff0280bbf24e1148314febc4eae8b16 /src/game/Spell.cpp
parent6183046f8cdcfbb96ff67297fe094e87c4b737f2 (diff)
Fix disappearing casting bar when other spell triggers.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 3d05c57bdf3..4a0e51e9372 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2887,6 +2887,11 @@ void Spell::SendSpellGo()
Unit *target = m_targets.getUnitTarget() ? m_targets.getUnitTarget() : m_caster;
uint32 castFlags = CAST_FLAG_UNKNOWN3;
+
+ // triggered spells with spell visual != 0
+ if(m_IsTriggeredSpell || m_triggeredByAuraSpell)
+ castFlags |= CAST_FLAG_UNKNOWN0;
+
if(IsRangedSpell())
castFlags |= CAST_FLAG_AMMO; // arrows/bullets visual