Fix build.

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

No files matched your search

+3
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-------------