Fix Itembox respawning in singleplayer non TA
This commit is contained in:
parent
a27f90c717
commit
7731e6dc6b
1 changed files with 1 additions and 1 deletions
|
|
@ -1185,7 +1185,7 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, UINT8 damaget
|
|||
|
||||
}
|
||||
|
||||
if (cv_itemrespawn.value && (netgame || multiplayer) && !itembreaker)
|
||||
if (cv_itemrespawn.value && modeattacking == ATTACKING_NONE && !itembreaker)
|
||||
{
|
||||
target->fuse = cv_itemrespawntime.value*TICRATE + 2; // Random box generation
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue