mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Collision: Replaced phasemask with proper phases in GameObject collision calculation
This commit is contained in:
@@ -199,7 +199,7 @@ void WorldSession::HandleQueryCorpseLocation(WorldPackets::Query::QueryCorpseLoc
|
||||
mapID = corpseMapEntry->CorpseMapID;
|
||||
x = corpseMapEntry->CorpsePos.X;
|
||||
y = corpseMapEntry->CorpsePos.Y;
|
||||
z = entranceMap->GetHeight(player->GetPhaseMask(), x, y, MAX_HEIGHT);
|
||||
z = entranceMap->GetHeight(player->GetPhases(), x, y, MAX_HEIGHT);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user