mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Revert some very incorrect refactoring
This commit is contained in:
parent
5a6d3753c0
commit
4e6a0c0ae9
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)
|
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);
|
||||||
|
|
||||||
P_UnsetThingPosition(mo);
|
goto bustupdone;
|
||||||
mo->x = oldx;
|
|
||||||
mo->y = oldy;
|
|
||||||
P_SetThingPosition(mo);
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
bustupdone:
|
||||||
|
P_UnsetThingPosition(mo);
|
||||||
|
mo->x = oldx;
|
||||||
|
mo->y = oldy;
|
||||||
|
P_SetThingPosition(mo);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue