From 9709f2071ad14828d9230b0fdf07177ff3cec1d4 Mon Sep 17 00:00:00 2001 From: Ian Date: Mon, 16 Oct 2023 15:57:14 -0400 Subject: [PATCH] Let engine dictate max AI --- source/pr_cmds.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/source/pr_cmds.c b/source/pr_cmds.c index a84b981..6b8300f 100644 --- a/source/pr_cmds.c +++ b/source/pr_cmds.c @@ -3229,6 +3229,20 @@ 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) = 12; +} /* ================= @@ -3828,7 +3842,7 @@ PF_Fixme, PF_SongEgg, // #500 PF_MaxAmmo, // #501 PF_GrenadePulse, // #502 -PF_Fixme, +PF_MaxZombies, // #503 PF_Fixme, };