Fix missing null drift effect
oops!!!!!!
This commit is contained in:
parent
1306a70107
commit
d9ec74dea7
1 changed files with 1 additions and 1 deletions
|
|
@ -9055,7 +9055,7 @@ static boolean P_MobjRegularThink(mobj_t *mobj)
|
|||
if ((!mobj->target || !mobj->target->health || !mobj->target->player || !P_IsObjectOnGround(mobj->target))
|
||||
|| !mobj->target->player->drift || !(mobj->target->player->pflags & PF_BRAKEDRIFT)
|
||||
|| !((mobj->target->player->cmd.buttons & BT_BRAKE)
|
||||
|| (K_GetKartButtons(mobj->target->player) & BT_ACCELERATE))) // Letting go of accel functions about the same as brake-drifting
|
||||
|| !(K_GetKartButtons(mobj->target->player) & BT_ACCELERATE))) // Letting go of accel functions about the same as brake-drifting
|
||||
{
|
||||
P_RemoveMobj(mobj);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue