- more floatification of p_map, plus some stuff used in those functions.

This commit is contained in:
Christoph Oelckers 2016-03-27 01:06:54 +01:00
commit 1877eca2ab
8 changed files with 87 additions and 94 deletions

View file

@ -436,7 +436,7 @@ void P_PlayerInSpecialSector (player_t *player, sector_t * sector)
{
// Falling, not all the way down yet?
sector = player->mo->Sector;
if (player->mo->_f_Z() != sector->_f_LowestFloorAt(player->mo)
if (player->mo->Z() != sector->LowestFloorAt(player->mo)
&& !player->mo->waterlevel)
{
return;