- reviewed all places where VARF_Action and NAP were used and fixed what was still wrong.

This commit is contained in:
Christoph Oelckers 2016-10-22 18:13:54 +02:00
commit 37914223f0
5 changed files with 20 additions and 17 deletions

View file

@ -2773,7 +2773,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Chase)
PARAM_STATE_OPT (missile) { missile = NULL; }
PARAM_INT_OPT (flags) { flags = 0; }
if (numparam >= NAP + 1)
if (numparam > 1)
{
if ((flags & CHF_RESURRECT) && P_CheckForResurrection(self, false))
return 0;