VITA/NX: Let engine dictate max AI

This commit is contained in:
cypress 2023-10-16 16:04:04 -04:00 committed by GitHub
parent 07b01ad46e
commit 5ededc76b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1299,6 +1299,21 @@ void PF_GrenadePulse(void)
MSG_WriteByte (&client->message,svc_pulse); MSG_WriteByte (&client->message,svc_pulse);
} }
/*
=================
PF_MaxZombies
Returns the total number of zombies
the platform can have out at once.
nzp_maxai()
=================
*/
void PF_MaxZombies(void)
{
G_FLOAT(OFS_RETURN) = 24;
}
/* /*
================= =================
PF_achievement PF_achievement
@ -3788,7 +3803,8 @@ static builtin_t pr_builtin[] =
NULL, // #499 NULL, // #499
PF_SongEgg, // #500 PF_SongEgg, // #500
PF_MaxAmmo, // #501 PF_MaxAmmo, // #501
PF_GrenadePulse, // #502 PF_GrenadePulse, // #502
PF_MaxZombies, // #503
}; };
builtin_t *pr_builtins = pr_builtin; builtin_t *pr_builtins = pr_builtin;