- fixed fast crushers going out of sync if something is being crushed by them.

This commit is contained in:
Christoph Oelckers 2022-06-02 16:48:07 +02:00
parent 05c846c4eb
commit 15a5554f8d
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ EMoveResult sector_t::MoveCeiling(double speed, double dest, int crush, int dire
ceilingplane.setD(dest);
flag = P_ChangeSector (this, crush, move, 1, false);
if (flag)
if (flag && !(crush >= 0 && !hexencrush && movedest == dest))
{
ceilingplane.setD(lastpos);
P_ChangeSector (this, crush, -move, 1, true);