Fix Various Movement Bugs (#21823)

This PR fixes a variety of bugs related to smooth movement. See the
changelog for more details. I have actually tested this PR.

Mechs and Mobs:


https://github.com/user-attachments/assets/77cd6d92-2616-409f-a909-d19565dfc718

Trains:


https://github.com/user-attachments/assets/0a12bc9a-6c45-471b-98fa-a91717cd85be

Pulling stuff in general:


https://github.com/user-attachments/assets/e2a7cdaa-2fcd-443c-bd76-bcd74e696c72

Rollerbeds:


https://github.com/user-attachments/assets/d0d35153-f406-45e9-afaf-ad19499098fe
This commit is contained in:
VMSolidus
2026-02-06 23:24:22 +00:00
committed by GitHub
parent 407c7e346a
commit 7fc9f27eeb
7 changed files with 74 additions and 22 deletions
@@ -624,6 +624,7 @@
. = ..()
if(buckled)
if(buckled.buckled_to == src)
buckled.set_glide_size(glide_size)
buckled.forceMove(src.loc)
else
buckled = null