aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXanadu <none@none>2010-01-21 01:28:18 +0100
committerXanadu <none@none>2010-01-21 01:28:18 +0100
commit9e91fc997c5606cb09614aa7ff8fec87ffccd21b (patch)
treece87e56242848a2a2d987397cea3f4536463e76c /src
parentda263cd1c49e8383407c9d708c6593aeb0eb9e4d (diff)
Fix build.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellMgr.cpp3
-rw-r--r--src/game/World.h3
2 files changed, 5 insertions, 1 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-------------
diff --git a/src/game/World.h b/src/game/World.h
index 8acc6fecbb8..7fdd520a2dc 100644
--- a/src/game/World.h
+++ b/src/game/World.h
@@ -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