mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Fix build.
--HG-- branch : trunk
This commit is contained in:
@@ -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-------------
|
||||
|
||||
@@ -89,7 +89,8 @@ enum WorldTimers
|
||||
// States than may change after server started
|
||||
enum WorldStates
|
||||
{
|
||||
WORLDSTATE_VALUE_COUNT,
|
||||
WORLDSTATE_WINTERGRASP_CONTROLING_FACTION,
|
||||
WORLDSTATE_VALUE_COUNT
|
||||
};
|
||||
|
||||
/// Configuration elements
|
||||
|
||||
@@ -1780,14 +1780,6 @@
|
||||
RelativePath="..\..\src\game\OutdoorPvPTF.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\OutdoorPvPWG.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\OutdoorPvPWG.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game\OutdoorPvPZM.cpp"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user