mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-06-04 19:10:59 +00:00
- floatified P_ChangeSector.
This commit is contained in:
parent
fe744a589c
commit
8b4a33794a
4 changed files with 46 additions and 49 deletions
|
@ -2619,12 +2619,11 @@ void P_ZMovement (AActor *mo, fixed_t oldfloorz)
|
|||
}
|
||||
}
|
||||
}
|
||||
P_CheckFakeFloorTriggers (mo, oldz);
|
||||
P_CheckFakeFloorTriggers (mo, FIXED2DBL(oldz));
|
||||
}
|
||||
|
||||
void P_CheckFakeFloorTriggers (AActor *mo, fixed_t _oldz, bool oldz_has_viewheight)
|
||||
void P_CheckFakeFloorTriggers (AActor *mo, double oldz, bool oldz_has_viewheight)
|
||||
{
|
||||
double oldz = FIXED2FLOAT(_oldz);
|
||||
if (mo->player && (mo->player->cheats & CF_PREDICTING))
|
||||
{
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue