diff --git a/source/games/duke/src/sectors.cpp b/source/games/duke/src/sectors.cpp index ea68dabbf..c305f1c86 100644 --- a/source/games/duke/src/sectors.cpp +++ b/source/games/duke/src/sectors.cpp @@ -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); } }