mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Entities: Phasing rewrite
* Optimized phase visibility checking * Handle all phase flags Closes #16758 Closes #21119
This commit is contained in:
@@ -204,7 +204,7 @@ void WorldSession::HandleQueryCorpseLocation(WorldPackets::Query::QueryCorpseLoc
|
||||
mapID = corpseMapEntry->CorpseMapID;
|
||||
x = corpseMapEntry->Corpse.X;
|
||||
y = corpseMapEntry->Corpse.Y;
|
||||
z = entranceMap->GetHeight(player->GetPhases(), x, y, MAX_HEIGHT);
|
||||
z = entranceMap->GetHeight(player->GetPhaseShift(), x, y, MAX_HEIGHT);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user