diff options
| author | Xanadu <none@none> | 2010-01-21 01:28:18 +0100 |
|---|---|---|
| committer | Xanadu <none@none> | 2010-01-21 01:28:18 +0100 |
| commit | 9e91fc997c5606cb09614aa7ff8fec87ffccd21b (patch) | |
| tree | ce87e56242848a2a2d987397cea3f4536463e76c /src/game/SpellMgr.cpp | |
| parent | da263cd1c49e8383407c9d708c6593aeb0eb9e4d (diff) | |
Fix build.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
| -rw-r--r-- | src/game/SpellMgr.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index d21e4a6356b..1a17bc5a301 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -2993,6 +2993,7 @@ bool SpellArea::IsFitToRequirements(Player const* player, uint32 newZone, uint32 if (auraSpell) // not have expected aura if (!player || auraSpell > 0 && !player->HasAura(auraSpell) || auraSpell < 0 && player->HasAura(-auraSpell)) return false; + // Extra conditions -- leaving the possibility add extra conditions... switch(spellId) { @@ -3001,6 +3002,8 @@ bool SpellArea::IsFitToRequirements(Player const* player, uint32 newZone, uint32 return false; break; } + + return true; } //-----------TRINITY------------- |
