aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundMgr.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-11 20:20:38 +0200
committerSpp <none@none>2010-04-11 20:20:38 +0200
commit65c3e979e2eed9e2485caf65b487dbd2219c0592 (patch)
tree5ecb0c945d99401d87fcfe116dfbc369328c4829 /src/game/BattleGroundMgr.cpp
parentc592fc75809e420eb3554b12c31eb645a8aae280 (diff)
Tab to Spaces and remove of trailing spaces
--HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGroundMgr.cpp')
-rw-r--r--src/game/BattleGroundMgr.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/game/BattleGroundMgr.cpp b/src/game/BattleGroundMgr.cpp
index c676cc7a451..2a104ce7966 100644
--- a/src/game/BattleGroundMgr.cpp
+++ b/src/game/BattleGroundMgr.cpp
@@ -1844,25 +1844,25 @@ void BattleGroundMgr::BuildBattleGroundListPacket(WorldPacket *data, const uint6
*data << uint8(fromWhere); // from where you joined
*data << uint32(bgTypeId); // battleground id
*data << uint8(0); // unk
- *data << uint8(0); // unk
-
+ *data << uint8(0); // unk
+
// Rewards
- *data << uint8(0); // 3.3.3 hasWin
- *data << uint32(0); // 3.3.3 winHonor
- *data << uint32(0); // 3.3.3 winArena
+ *data << uint8(0); // 3.3.3 hasWin
+ *data << uint32(0); // 3.3.3 winHonor
+ *data << uint32(0); // 3.3.3 winArena
*data << uint32(0); // 3.3.3 lossHonor
-
- uint8 isRandom = 0;
- *data << uint8(isRandom); // 3.3.3 isRandom
- if (isRandom)
- {
- // Rewards (random)
- *data << uint8(0); // 3.3.3 hasWin_Random
- *data << uint32(0); // 3.3.3 winHonor_Random
+
+ uint8 isRandom = 0;
+ *data << uint8(isRandom); // 3.3.3 isRandom
+ if (isRandom)
+ {
+ // Rewards (random)
+ *data << uint8(0); // 3.3.3 hasWin_Random
+ *data << uint32(0); // 3.3.3 winHonor_Random
*data << uint32(0); // 3.3.3 winArena_Random
*data << uint32(0); // 3.3.3 lossHonor_Random
}
-
+
if (bgTypeId == BATTLEGROUND_AA) // arena
{
*data << uint32(0); // unk (count?)