Don't run A_RockSpawn with zero tics in Kart maps
This commit is contained in:
parent
0a0c468ac3
commit
403f7edc85
1 changed files with 3 additions and 0 deletions
|
|
@ -4870,6 +4870,9 @@ void A_RockSpawn(mobj_t *actor)
|
|||
if (LUA_CallAction(A_ROCKSPAWN, actor))
|
||||
return;
|
||||
|
||||
if (mapnamespace == MNS_SRB2KART && !actor->args[1])
|
||||
return;
|
||||
|
||||
type = actor->stringargs[0] ? get_number(actor->stringargs[0]) : MT_ROCKCRUMBLE1;
|
||||
|
||||
if (type < MT_NULL || type >= NUMMOBJTYPES)
|
||||
|
|
|
|||
Loading…
Reference in a new issue