From 5ededc76b4ce1037b05de75ca4086604621c74bb Mon Sep 17 00:00:00 2001 From: cypress Date: Mon, 16 Oct 2023 16:04:04 -0400 Subject: [PATCH] VITA/NX: Let engine dictate max AI --- source/pr_cmds.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/source/pr_cmds.c b/source/pr_cmds.c index 6d32f1b..e4ac6cd 100644 --- a/source/pr_cmds.c +++ b/source/pr_cmds.c @@ -1299,6 +1299,21 @@ void PF_GrenadePulse(void) 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 @@ -3788,7 +3803,8 @@ static builtin_t pr_builtin[] = NULL, // #499 PF_SongEgg, // #500 PF_MaxAmmo, // #501 - PF_GrenadePulse, // #502 + PF_GrenadePulse, // #502 + PF_MaxZombies, // #503 }; builtin_t *pr_builtins = pr_builtin;