From a754e9c08a79d04d0b4411860478d87c48d71283 Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 6 Oct 2024 13:00:07 +0200 Subject: [PATCH] HACK: reset interp values in case 412 teleporter without using P_Setorigin since that function does some wonky stuff and idk if that would be synch safe --- src/p_spec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/p_spec.c b/src/p_spec.c index 9a06be92a..96d7ef9b8 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -2079,6 +2079,9 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec) mo->y += y; mo->z += z; P_SetThingPosition(mo); + mo->old_x = mo->x; + mo->old_y = mo->y; + mo->old_z = mo->z; if (mo->player) {