mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 04:51:19 +00:00
- this needs a return value...
This commit is contained in:
parent
5a779cc1f4
commit
f2125ea420
1 changed files with 2 additions and 1 deletions
|
@ -3276,7 +3276,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CountdownArg)
|
||||||
PARAM_INT(cnt);
|
PARAM_INT(cnt);
|
||||||
PARAM_STATE_OPT(state) { state = self->FindState(NAME_Death); }
|
PARAM_STATE_OPT(state) { state = self->FindState(NAME_Death); }
|
||||||
|
|
||||||
if (cnt<0 || cnt >= 5) return;
|
if (cnt<0 || cnt >= 5) return 0;
|
||||||
if (!self->args[cnt]--)
|
if (!self->args[cnt]--)
|
||||||
{
|
{
|
||||||
if (self->flags&MF_MISSILE)
|
if (self->flags&MF_MISSILE)
|
||||||
|
@ -3292,6 +3292,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CountdownArg)
|
||||||
self->SetState(state);
|
self->SetState(state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
Loading…
Reference in a new issue