Revert some very incorrect refactoring

This commit is contained in:
MascaraSnake 2020-05-02 15:33:15 +02:00
parent ddb4c2c97f
commit 122104815a
1 changed files with 6 additions and 5 deletions

View File

@ -1741,13 +1741,14 @@ static void P_PushableCheckBustables(mobj_t *mo)
if (rover->master->flags & ML_EFFECT5)
P_LinedefExecute((INT16)(P_AproxDistance(rover->master->dx, rover->master->dy)>>FRACBITS), mo, node->m_sector);
P_UnsetThingPosition(mo);
mo->x = oldx;
mo->y = oldy;
P_SetThingPosition(mo);
return;
goto bustupdone;
}
}
bustupdone:
P_UnsetThingPosition(mo);
mo->x = oldx;
mo->y = oldy;
P_SetThingPosition(mo);
}
//