Core/DataStores: Fixed name consistency and improved coords handling

This commit is contained in:
Intel
2014-11-07 13:53:25 +02:00
parent 9246f7d335
commit 4123e27a66
8 changed files with 79 additions and 66 deletions

View File

@@ -258,8 +258,8 @@ void WorldSession::HandleCorpseQueryOpcode(WorldPacket& /*recvData*/)
if (Map const* entranceMap = sMapMgr->CreateBaseMap(corpseMapEntry->CorpseMapID))
{
mapid = corpseMapEntry->CorpseMapID;
x = corpseMapEntry->Corpse[0];
y = corpseMapEntry->Corpse[1];
x = corpseMapEntry->CorpsePos.X;
y = corpseMapEntry->CorpsePos.Y;
z = entranceMap->GetHeight(GetPlayer()->GetPhaseMask(), x, y, MAX_HEIGHT);
}
}