[svn] * Compile fixes from previous revs.

--HG--
branch : trunk
This commit is contained in:
KingPin
2008-10-20 14:11:58 -05:00
parent 717cfa01f0
commit 9664e39fa4
5 changed files with 7 additions and 8 deletions

View File

@@ -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);