- floatified P_ChangeSector.

This commit is contained in:
Christoph Oelckers 2016-03-27 22:35:58 +02:00
commit 8b4a33794a
4 changed files with 46 additions and 49 deletions

View file

@ -2268,7 +2268,7 @@ void P_CrouchMove(player_t * player, int direction)
player->crouchviewdelta = player->viewheight - player->mo->ViewHeight;
// Check for eyes going above/below fake floor due to crouching motion.
P_CheckFakeFloorTriggers(player->mo, player->mo->_f_Z() + FLOAT2FIXED(oldheight), true);
P_CheckFakeFloorTriggers(player->mo, player->mo->Z() + oldheight, true);
}
//----------------------------------------------------------------------------