mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Fix expansion in queued login, by Zor. Related: #743
--HG-- branch : trunk
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user