diff options
| author | joschiwald <joschiwald@online.de> | 2012-12-31 01:48:51 +0100 |
|---|---|---|
| committer | joschiwald <joschiwald@online.de> | 2012-12-31 01:48:51 +0100 |
| commit | 18bfa14b74169cc3ac3f288c45ab78ad73d11334 (patch) | |
| tree | f882f847cef63f6278b66b97d2b83fa5cf6f2809 /src/server/game/Conditions/DisableMgr.cpp | |
| parent | 22896bd7a46ade453e72ad09138b3c6d62efe4e7 (diff) | |
Core/DisableMgr: readd possibility to disable los check for spells
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 b544e966084..3940314c3de 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; } |
