From d42cfb6aa64aa8ce948a58fe911ecd12e868081a Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 5 Sep 2010 12:38:52 +0200 Subject: Core/Battlegrounds: Fixed scoreboard packet (and possible core crash) for TBC arenas, thx Maxdestroyer for pointing it out --HG-- branch : trunk --- src/server/game/Battlegrounds/BattlegroundMgr.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/server/game/Battlegrounds/BattlegroundMgr.cpp b/src/server/game/Battlegrounds/BattlegroundMgr.cpp index 8ad60e4031e..70f5c16f6f3 100644 --- a/src/server/game/Battlegrounds/BattlegroundMgr.cpp +++ b/src/server/game/Battlegrounds/BattlegroundMgr.cpp @@ -360,15 +360,15 @@ void BattlegroundMgr::BuildPvpLogDataPacket(WorldPacket *data, Battleground *bg) *data << uint32(0x00000001); // count of next fields *data << uint32(((BattlegroundEYScore*)itr2->second)->FlagCaptures); // flag captures break; - case BATTLEGROUND_NA: - case BATTLEGROUND_BE: - case BATTLEGROUND_AA: - case BATTLEGROUND_RL: case BATTLEGROUND_SA: *data << uint32(0x00000002); // count of next fields *data << uint32(((BattlegroundSAScore*)itr2->second)->demolishers_destroyed); *data << uint32(((BattlegroundSAScore*)itr2->second)->gates_destroyed); break; + case BATTLEGROUND_NA: + case BATTLEGROUND_BE: + case BATTLEGROUND_AA: + case BATTLEGROUND_RL: case BATTLEGROUND_DS: // wotlk case BATTLEGROUND_RV: // wotlk case BATTLEGROUND_IC: // wotlk -- cgit v1.2.3