From d1200a3956281509fb9df6ee76db92292bdff725 Mon Sep 17 00:00:00 2001 From: cypress Date: Sun, 16 Jun 2024 21:21:06 -0700 Subject: [PATCH] VITA/NX: Consistent AI size for builtin and pathing --- source/pr_cmds.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/pr_cmds.c b/source/pr_cmds.c index 137e0d2..24cc4b1 100644 --- a/source/pr_cmds.c +++ b/source/pr_cmds.c @@ -1422,6 +1422,8 @@ void PF_SetPlayerName(void) MSG_WriteString (&client->message, s); } +#define MaxZombies 24 + /* ================= PF_MaxZombies @@ -1434,7 +1436,7 @@ nzp_maxai() */ void PF_MaxZombies(void) { - G_FLOAT(OFS_RETURN) = 24; + G_FLOAT(OFS_RETURN) = MaxZombies; } /* @@ -2225,7 +2227,6 @@ int closedset[MAX_WAYPOINTS]; // The set of nodes already evaluated. int openset[MAX_WAYPOINTS];//Actual sorted open list int opensetRef[MAX_WAYPOINTS];//Reference values of open list int opensetLength;//equivalent of javaScript's array[].length; -#define MaxZombies 16 zombie_ai zombie_list[MaxZombies];