Support plane type 3 in the "copy portal" line special

SRB2 doesn't implement sector portals the way ZDoom does, but this ensures plane type 3 acts the same as plane type 2.
This commit is contained in:
Lactozilla 2023-08-23 16:31:03 -03:00
parent e230d38aad
commit 50506254e8

View file

@ -7362,7 +7362,7 @@ void P_SpawnSpecials(boolean fromnetsave)
int tag_to_copy = lines[i].args[3]; int tag_to_copy = lines[i].args[3];
boolean floor, ceiling; boolean floor, ceiling;
if (plane_type == TMP_BOTH) if (plane_type == TMP_BOTH || plane_type == 3)
floor = ceiling = true; floor = ceiling = true;
else else
{ {