From 54e02012046983608df863ddb2e63222bb536ed6 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 20 Oct 2022 16:40:18 +0200 Subject: [PATCH] - added vanilla donut handling to compat_floormove. --- src/playsim/mapthinkers/a_floor.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/playsim/mapthinkers/a_floor.cpp b/src/playsim/mapthinkers/a_floor.cpp index 3ba08087c6..3307384947 100644 --- a/src/playsim/mapthinkers/a_floor.cpp +++ b/src/playsim/mapthinkers/a_floor.cpp @@ -811,13 +811,12 @@ bool FLevelLocals::EV_DoDonut (int tag, line_t *line, double pillarspeed, double if (!s2) // note lowest numbered line around continue; // pillar must be two-sided - if (s2->PlaneMoving(sector_t::floor)) + if (!(compatflags2 & COMPATF2_FLOORMOVE) && s2->PlaneMoving(sector_t::floor)) continue; for (auto ln : s2->Lines) { - if (!(ln->flags & ML_TWOSIDED) || - (ln->backsector == s1)) + if (ln->backsector == nullptr || ln->backsector == s1) continue; s3 = ln->backsector;