- Fixed: SECSPAC_EyesSurface and SECSPAC_EyesDive did not trigger due to
crouching motion. - Fixed: The keypress for nightmare mode verification appeared in the console if the fullscreen console was open while using the menu. - Added support for scaling down large console fonts in the customize controls menu. - Fixed: Joining a negative team was possible. SVN r590 (trunk)
This commit is contained in:
parent
1225071f78
commit
6a00173a12
9 changed files with 96 additions and 29 deletions
|
|
@ -2058,7 +2058,7 @@ void P_ZMovement (AActor *mo)
|
|||
P_CheckFakeFloorTriggers (mo, oldz);
|
||||
}
|
||||
|
||||
void P_CheckFakeFloorTriggers (AActor *mo, fixed_t oldz)
|
||||
void P_CheckFakeFloorTriggers (AActor *mo, fixed_t oldz, bool oldz_has_viewheight)
|
||||
{
|
||||
if (mo->player && (mo->player->cheats & CF_PREDICTING))
|
||||
{
|
||||
|
|
@ -2092,7 +2092,10 @@ void P_CheckFakeFloorTriggers (AActor *mo, fixed_t oldz)
|
|||
}
|
||||
|
||||
newz = mo->z + viewheight;
|
||||
oldz += viewheight;
|
||||
if (!oldz_has_viewheight)
|
||||
{
|
||||
oldz += viewheight;
|
||||
}
|
||||
|
||||
if (oldz <= waterz && newz > waterz)
|
||||
{ // View went above fake floor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue