mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +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
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue