- fixed: EV_DoDonut checked the wrong compatibility variable.

This missed all map specified flags.
This commit is contained in:
Christoph Oelckers 2023-09-16 21:35:01 +02:00
parent e86de4463f
commit d596e5a8fa
1 changed files with 1 additions and 1 deletions

View File

@ -811,7 +811,7 @@ 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 (!(compatflags2 & COMPATF2_FLOORMOVE) && s2->PlaneMoving(sector_t::floor))
if (!(i_compatflags2 & COMPATF2_FLOORMOVE) && s2->PlaneMoving(sector_t::floor))
continue;
for (auto ln : s2->Lines)