mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Reverted wrong commit d2785283e - the real source for not matching the flags was a mixed up index in DBCfmt.cpp
Added database integrity check for creature_equip_template Differ between stored and pending completed achievements
This commit is contained in:
parent
cf3bbb5920
commit
e92cc728c3
7 changed files with 71 additions and 19 deletions
|
|
@ -1290,7 +1290,7 @@ void Player::BuildEnumData( QueryResult * result, WorldPacket * p_data )
|
|||
*p_data << uint8(getLevel()); // player level
|
||||
// do not use GetMap! it will spawn a new instance since the bound instances are not loaded
|
||||
uint32 zoneId = MapManager::Instance().GetZoneId(GetMapId(), GetPositionX(),GetPositionY());
|
||||
|
||||
sLog.outDebug("Player::BuildEnumData: m:%u, x:%f, y:%f, z:%f zone:%u", GetMapId(), GetPositionX(), GetPositionY(), GetPositionZ(), zoneId);
|
||||
*p_data << zoneId;
|
||||
*p_data << GetMapId();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue