mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed fast crushers going out of sync if something is being crushed by them.
This commit is contained in:
parent
05c846c4eb
commit
15a5554f8d
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ EMoveResult sector_t::MoveCeiling(double speed, double dest, int crush, int dire
|
||||||
ceilingplane.setD(dest);
|
ceilingplane.setD(dest);
|
||||||
flag = P_ChangeSector (this, crush, move, 1, false);
|
flag = P_ChangeSector (this, crush, move, 1, false);
|
||||||
|
|
||||||
if (flag)
|
if (flag && !(crush >= 0 && !hexencrush && movedest == dest))
|
||||||
{
|
{
|
||||||
ceilingplane.setD(lastpos);
|
ceilingplane.setD(lastpos);
|
||||||
P_ChangeSector (this, crush, -move, 1, true);
|
P_ChangeSector (this, crush, -move, 1, true);
|
||||||
|
|
Loading…
Reference in a new issue