mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-26 06:11:01 +00:00
Bustable blocks: Forgot to adapt linedef executor triggering for pushables
This commit is contained in:
parent
4dd25721f6
commit
21eccc15d8
1 changed files with 2 additions and 2 deletions
|
@ -1732,8 +1732,8 @@ static void P_PushableCheckBustables(mobj_t *mo)
|
|||
EV_CrumbleChain(NULL, rover); // node->m_sector
|
||||
|
||||
// Run a linedef executor??
|
||||
if (rover->master->flags & ML_EFFECT5)
|
||||
P_LinedefExecute((INT16)(P_AproxDistance(rover->master->dx, rover->master->dy)>>FRACBITS), mo, node->m_sector);
|
||||
if (rover->master->args[3] & TMFB_EXECUTOR)
|
||||
P_LinedefExecute((INT16)(rover->master->args[4]), mo, node->m_sector);
|
||||
|
||||
goto bustupdone;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue