mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-02 13:51:52 +00:00
- added vanilla donut handling to compat_floormove.
This commit is contained in:
parent
8394de00ca
commit
54e0201204
1 changed files with 2 additions and 3 deletions
|
@ -811,13 +811,12 @@ bool FLevelLocals::EV_DoDonut (int tag, line_t *line, double pillarspeed, double
|
||||||
if (!s2) // note lowest numbered line around
|
if (!s2) // note lowest numbered line around
|
||||||
continue; // pillar must be two-sided
|
continue; // pillar must be two-sided
|
||||||
|
|
||||||
if (s2->PlaneMoving(sector_t::floor))
|
if (!(compatflags2 & COMPATF2_FLOORMOVE) && s2->PlaneMoving(sector_t::floor))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for (auto ln : s2->Lines)
|
for (auto ln : s2->Lines)
|
||||||
{
|
{
|
||||||
if (!(ln->flags & ML_TWOSIDED) ||
|
if (ln->backsector == nullptr || ln->backsector == s1)
|
||||||
(ln->backsector == s1))
|
|
||||||
continue;
|
continue;
|
||||||
s3 = ln->backsector;
|
s3 = ln->backsector;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue