Fix build.

--HG--
branch : trunk
This commit is contained in:
Xanadu
2010-01-21 01:28:18 +01:00
parent da263cd1c4
commit 9e91fc997c
3 changed files with 5 additions and 9 deletions

View File

@@ -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-------------