diff options
author | megamage <none@none> | 2009-03-08 11:53:35 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-08 11:53:35 -0600 |
commit | 56416558fadae5fa160c34280760c5c9883c68f2 (patch) | |
tree | 2c17baf561a545e3c5f53f9bbbb319a286d5a099 /src/game/BattleGroundWS.h | |
parent | d33a69921b886bb1f44800c0a870d1dbc5e6c4f8 (diff) |
[7402] Fixed graveyards in WSG, prevent from cheating. Patch provided by Balrok.
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGroundWS.h')
-rw-r--r-- | src/game/BattleGroundWS.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game/BattleGroundWS.h b/src/game/BattleGroundWS.h index f86fc4c637e..f551cda1884 100644 --- a/src/game/BattleGroundWS.h +++ b/src/game/BattleGroundWS.h @@ -116,8 +116,10 @@ enum BG_WS_FlagState enum BG_WS_Graveyards { - WS_GRAVEYARD_MAIN_ALLIANCE = 771, - WS_GRAVEYARD_MAIN_HORDE = 772 + WS_GRAVEYARD_FLAGROOM_ALLIANCE = 769, + WS_GRAVEYARD_FLAGROOM_HORDE = 770, + WS_GRAVEYARD_MAIN_ALLIANCE = 771, + WS_GRAVEYARD_MAIN_HORDE = 772 }; enum BG_WS_CreatureTypes @@ -177,6 +179,7 @@ class BattleGroundWS : public BattleGround void HandleKillPlayer(Player *player, Player *killer); bool SetupBattleGround(); virtual void Reset(); + virtual WorldSafeLocsEntry const* GetClosestGraveYard(Player* player); void UpdateFlagState(uint32 team, uint32 value); void UpdateTeamScore(uint32 team); |