diff options
author | maximius <none@none> | 2009-08-31 01:18:29 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-08-31 01:18:29 -0700 |
commit | 3f467130f60a0d84a0b2977d08a24040dc3495cc (patch) | |
tree | d5ec1e7dd295b34d01d43ef6927f345773164330 | |
parent | 254c49f55a17375f2a8186f9a1a75e9e29fc8f2c (diff) |
*Replace 2^32-1 with MAPID_INVALID (I knew megamage added this somewhere, just couldn't find it until now :P)
--HG--
branch : trunk
-rw-r--r-- | src/game/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 82ed0a9a092..cfddb5e76ad 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -14854,7 +14854,7 @@ bool Player::LoadFromDB( uint32 guid, SqlQueryHolder *holder ) const WorldLocation& _loc = GetBattleGroundEntryPoint(); mapId = _loc.GetMapId(); instanceId = 0; - if(mapId == 4294967295/*UINT32_MAX*/) // Battleground Entry Point not found (???) + if(mapId == MAPID_INVALID) // Battleground Entry Point not found (???) { sLog.outError("Player (guidlow %d) was in BG in database, but BG was not found, and entry point was invalid! Teleport to default race/class locations.",guid); RelocateToHomebind(); |