- converted g_strife to full floating point use, except the floor height changing stuff in A_LightGoesOut.
This commit is contained in:
parent
5a4b974187
commit
a652c061f6
36 changed files with 192 additions and 493 deletions
|
|
@ -576,7 +576,7 @@ bool P_Move (AActor *actor)
|
|||
!((actor->flags & MF_NOGRAVITY) || (actor->flags6 & MF6_CANJUMP))
|
||||
&& actor->Z() > actor->floorz && !(actor->flags2 & MF2_ONMOBJ))
|
||||
{
|
||||
if (actor->_f_Z() <= actor->_f_floorz() + actor->MaxStepHeight)
|
||||
if (actor->Z() <= actor->floorz + actor->MaxStepHeight)
|
||||
{
|
||||
double savedz = actor->Z();
|
||||
actor->SetZ(actor->floorz);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue