mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 19:31:05 +00:00
Revert some very incorrect refactoring
This commit is contained in:
parent
ddb4c2c97f
commit
122104815a
1 changed files with 6 additions and 5 deletions
11
src/p_mobj.c
11
src/p_mobj.c
|
@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue