mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 19:31:26 +00:00
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:
commit
6ad18e5aec
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue