diff options
author | Nay <dnpd.dd@gmail.com> | 2013-01-07 07:36:40 -0800 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2013-01-07 07:36:40 -0800 |
commit | d0e4e202658206aa40e656101334b446ebc9f18e (patch) | |
tree | 3b01ed222cbdeefc40912c0933b73e14f63d3e8f /src/server/game/Conditions/DisableMgr.cpp | |
parent | 161caf860b3aece9b81d1f733018b752e7f5ce44 (diff) | |
parent | 18bfa14b74169cc3ac3f288c45ab78ad73d11334 (diff) |
Merge pull request #8825 from joschiwald/vmapspelligno
Core/VMaps: drop "vmap.ignoreSpellIds" in config
this is not longer necessary since we use SPELL_ATTR2_CAN_TARGET_NOT_IN_LOS
Diffstat (limited to 'src/server/game/Conditions/DisableMgr.cpp')
-rw-r--r-- | src/server/game/Conditions/DisableMgr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Conditions/DisableMgr.cpp b/src/server/game/Conditions/DisableMgr.cpp index 8cd36827ab9..fefb51323c4 100644 --- a/src/server/game/Conditions/DisableMgr.cpp +++ b/src/server/game/Conditions/DisableMgr.cpp @@ -310,6 +310,8 @@ bool IsDisabledFor(DisableType type, uint32 entry, Unit const* unit, uint8 flags } else if (spellFlags & SPELL_DISABLE_DEPRECATED_SPELL) // call not from spellcast return true; + else if (flags & SPELL_DISABLE_LOS) + return spellFlags & SPELL_DISABLE_LOS; break; } |