revert this in teleport

This commit is contained in:
Alug committed 2024-07-17 22:19:11 +02:00
1 parent deae234afa
commit fcda4c1188
1 file changed
+5 -1
+5 -1
View File
@@ -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)
{