mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-06-04 19:10:59 +00:00
- Added a check for all z-movement for floor huggers so that it doesn't skip all the height checks if +NODROPOFF is also given.
This commit is contained in:
parent
0c660ff29c
commit
073e63ed04
2 changed files with 3 additions and 3 deletions
|
@ -2958,7 +2958,7 @@ void P_ZMovement (AActor *mo, double oldfloorz)
|
|||
mo->Vel.Z = 0;
|
||||
return;
|
||||
}
|
||||
else if (mo->flags3 & MF3_FLOORHUGGER)
|
||||
else if ((mo->flags3 & MF3_FLOORHUGGER) && !(mo->flags5 & MF5_NODROPOFF))
|
||||
{ // Floor huggers can go up steps
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue