Don't require floor touch for currents in non-FOF sectors unless it's a horizontal currents in binary (because backwards compatibility)

This commit is contained in:
MascaraSnake 2022-10-08 10:20:20 +02:00
parent e08ebac5c8
commit d2f2c71685

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;
}