Merge branch 'udmf-current-bugfix' into 'next'

Don't require floor touch for currents in non-FOF sectors

Closes #893

See merge request STJr/SRB2!1826
This commit is contained in:
MascaraSnake 2022-10-09 13:39:22 +00:00
commit 6ad18e5aec

View file

@ -8548,7 +8548,9 @@ void T_Pusher(pusher_t *p)
{
if (thing->z == P_GetSpecialBottomZ(thing, sec, sec))
touching = true;
else if (p->type != p_current)
// Annoying backwards compatibility nonsense:
// In binary, horizontal currents require floor touch
else if (udmf || p->type != p_current || z_mag != 0)
inFOF = true;
}