mirror of
https://github.com/nzp-team/glquake.git
synced 2025-03-12 22:00:59 +00:00
N3DS: Use same pathing array size as nzp_maxai returns
This commit is contained in:
parent
96e402742c
commit
b147b1d681
1 changed files with 2 additions and 2 deletions
|
@ -1476,7 +1476,7 @@ int closedset[MAX_WAYPOINTS]; // The set of nodes already evaluated.
|
||||||
int openset[MAX_WAYPOINTS];//Actual sorted open list
|
int openset[MAX_WAYPOINTS];//Actual sorted open list
|
||||||
int opensetRef[MAX_WAYPOINTS];//Reference values of open list
|
int opensetRef[MAX_WAYPOINTS];//Reference values of open list
|
||||||
int opensetLength;//equivalent of javaScript's array[].length;
|
int opensetLength;//equivalent of javaScript's array[].length;
|
||||||
#define MaxZombies 16
|
#define MaxZombies 18
|
||||||
|
|
||||||
zombie_ai zombie_list[MaxZombies];
|
zombie_ai zombie_list[MaxZombies];
|
||||||
//Debug//
|
//Debug//
|
||||||
|
@ -3423,7 +3423,7 @@ nzp_maxai()
|
||||||
void PF_MaxZombies(void)
|
void PF_MaxZombies(void)
|
||||||
{
|
{
|
||||||
if (new3ds_flag)
|
if (new3ds_flag)
|
||||||
G_FLOAT(OFS_RETURN) = 18;
|
G_FLOAT(OFS_RETURN) = MaxZombies;
|
||||||
else
|
else
|
||||||
G_FLOAT(OFS_RETURN) = 12;
|
G_FLOAT(OFS_RETURN) = 12;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue