diff options
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r-- | src/game/World.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp index 93cb249aef7..7abba291c86 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -229,7 +229,7 @@ World::AddSession_ (WorldSession* s) packet << uint32 (0); // unknown random value... packet << uint8 (0); packet << uint32 (0); - packet << uint8 (s->IsTBC () ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account + packet << uint8 (s->Expansion () ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account s->SendPacket (&packet); UpdateMaxSessionCounters (); @@ -266,7 +266,7 @@ void World::AddQueuedPlayer(WorldSession* sess) packet << uint32 (0); // unknown random value... packet << uint8 (0); packet << uint32 (0); - packet << uint8 (sess->IsTBC () ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account + packet << uint8 (sess->Expansion () ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account packet << uint32(GetQueuePos (sess)); sess->SendPacket (&packet); |