From bf7fc12a8dfb84ea6c88c9934977d0b160eeeb46 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 17 Jul 2024 22:19:03 +0200 Subject: [PATCH] revert this in teleport --- src/p_spec.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/p_spec.c b/src/p_spec.c index 3bde59b1e..1bde9a72e 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -2371,7 +2371,11 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec) y = sides[line->sidenum[0]].rowoffset; z = line->frontsector->ceilingheight; - P_SetOrigin(mo, mo->x + x, mo->y + y, mo->z + z); + P_UnsetThingPosition(mo); + mo->x += x; + mo->y += y; + mo->z += z; + P_SetThingPosition(mo); if (mo->player) {