From 15a5554f8da3a8853459c6ca5cb894e5849fd1e8 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 2 Jun 2022 16:48:07 +0200 Subject: [PATCH] - fixed fast crushers going out of sync if something is being crushed by them. --- src/playsim/mapthinkers/dsectoreffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playsim/mapthinkers/dsectoreffect.cpp b/src/playsim/mapthinkers/dsectoreffect.cpp index 25a8826e99..e14f628b4f 100644 --- a/src/playsim/mapthinkers/dsectoreffect.cpp +++ b/src/playsim/mapthinkers/dsectoreffect.cpp @@ -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);