Core/Collision: Replaced phasemask with proper phases in GameObject collision calculation

This commit is contained in:
joschiwald
2017-05-05 20:48:08 +02:00
parent c1cc0e9949
commit 036f67c0c1
30 changed files with 119 additions and 151 deletions

View File

@@ -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);
}
}
}