Revert some very incorrect refactoring
This commit is contained in:
parent
ddb4c2c97f
commit
122104815a
|
@ -1741,13 +1741,14 @@ static void P_PushableCheckBustables(mobj_t *mo)
|
||||||
if (rover->master->flags & ML_EFFECT5)
|
if (rover->master->flags & ML_EFFECT5)
|
||||||
P_LinedefExecute((INT16)(P_AproxDistance(rover->master->dx, rover->master->dy)>>FRACBITS), mo, node->m_sector);
|
P_LinedefExecute((INT16)(P_AproxDistance(rover->master->dx, rover->master->dy)>>FRACBITS), mo, node->m_sector);
|
||||||
|
|
||||||
|
goto bustupdone;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
bustupdone:
|
||||||
P_UnsetThingPosition(mo);
|
P_UnsetThingPosition(mo);
|
||||||
mo->x = oldx;
|
mo->x = oldx;
|
||||||
mo->y = oldy;
|
mo->y = oldy;
|
||||||
P_SetThingPosition(mo);
|
P_SetThingPosition(mo);
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue