aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authorspp <none@none>2009-12-13 03:47:59 +0100
committerspp <none@none>2009-12-13 03:47:59 +0100
commit5268f8b5ef1dfeb014ec54b6807effc44eaad279 (patch)
treeac84ed2ccb61f6e1e66593b2fcaaa055bcda3b75 /src/game/World.cpp
parentfa92132dca6c899e6c787e4d2f5e23babc3ef1a7 (diff)
Fix expansion in queued login, by Zor. Related: #743
--HG-- branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index d28b680612b..b343798dbf7 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -250,7 +250,7 @@ World::AddSession_ (WorldSession* s)
packet << uint32 (0); // BillingTimeRemaining
packet << uint8 (0); // BillingPlanFlags
packet << uint32 (0); // BillingTimeRested
- packet << uint8 (s->Expansion()); // 0 - normal, 1 - TBC, must be set in database manually for each account
+ packet << uint8 (s->Expansion()); // 0 - normal, 1 - TBC, 2 - WOTLK, must be set in database manually for each account
s->SendPacket (&packet);
s->SendAddonsInfo();
@@ -317,7 +317,7 @@ void World::AddQueuedPlayer(WorldSession* sess)
packet << uint32 (0); // BillingTimeRemaining
packet << uint8 (0); // BillingPlanFlags
packet << uint32 (0); // BillingTimeRested
- packet << uint8 (sess->Expansion () ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account
+ packet << uint8 (sess->Expansion()); // 0 - normal, 1 - TBC, 2 - WOTLK, must be set in database manually for each account
packet << uint32(GetQueuePos (sess));
sess->SendPacket (&packet);