- fixed handle_st18's ceiling movement.

This commit is contained in:
Christoph Oelckers 2022-11-07 18:16:41 +01:00
parent fd1864bb48
commit 5ebf2fef89

View file

@ -684,7 +684,7 @@ static void handle_st18(sectortype* sptr, DDukeActor* actor)
if (sectp == nullptr) return;
double speed = sptr->extra / 256.;
setanimation(sptr, anim_floorz, sptr, sectp->floorz, speed);
setanimation(sptr, anim_ceilingz, sptr, sectp->ceilingz, speed);
setanimation(sptr, anim_ceilingz, sptr, sectp->floorz + sptr->ceilingz - sptr->floorz, speed);
callsound(sptr, actor);
}
}