mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Maps: Fixed retrieving terrain info when on child maps
This commit is contained in:
@@ -151,7 +151,7 @@ void WorldSession::HandleQueryCorpseLocation(WorldPackets::Query::QueryCorpseLoc
|
||||
mapID = corpseMapEntry->CorpseMapID;
|
||||
x = corpseMapEntry->Corpse.X;
|
||||
y = corpseMapEntry->Corpse.Y;
|
||||
z = entranceTerrain->GetStaticHeight(player->GetPhaseShift(), x, y, MAX_HEIGHT);
|
||||
z = entranceTerrain->GetStaticHeight(player->GetPhaseShift(), mapID, x, y, MAX_HEIGHT);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user