diff options
author | megamage <none@none> | 2009-03-05 13:08:46 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-05 13:08:46 -0600 |
commit | b7ec91f72d640bb694b82b0adafaa66935174d42 (patch) | |
tree | 0c3a6adb84c221dce945c7c6dd0624612a1483b5 /src/game/SpellEffects.cpp | |
parent | c5175e5e470f6c630b4c8659f0e0e6a1094891cc (diff) |
*Do not let farsight dynobj apply non-exist auras. This fixed farsight.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index dbdef569a5c..cad6190294d 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3485,7 +3485,7 @@ void Spell::EffectAddFarsight(uint32 i) float radius = GetSpellRadius(sSpellRadiusStore.LookupEntry(m_spellInfo->EffectRadiusIndex[i])); int32 duration = GetSpellDuration(m_spellInfo); DynamicObject* dynObj = new DynamicObject; - if(!dynObj->Create(objmgr.GenerateLowGuid(HIGHGUID_DYNAMICOBJECT), m_caster, m_spellInfo->Id, i, m_targets.m_destX, m_targets.m_destY, m_targets.m_destZ, duration, radius)) + if(!dynObj->Create(objmgr.GenerateLowGuid(HIGHGUID_DYNAMICOBJECT), m_caster, m_spellInfo->Id, 4, m_targets.m_destX, m_targets.m_destY, m_targets.m_destZ, duration, radius)) { delete dynObj; return; |