From 4e966aa44ab58d3a95c4c36260ca08b18d5095fb 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 5fa557a70..9b773b002 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -2084,6 +2084,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) {