SERVER: Let host engine dictate max AI at once

This commit is contained in:
Ian 2023-10-16 15:59:22 -04:00
parent 835fdcb1e2
commit 6631813cf9
2 changed files with 12 additions and 12 deletions

View file

@ -1553,7 +1553,18 @@ void() spawnAllZombEnts =
local float i; local float i;
i = 0; i = 0;
while(i < MAX_ZOMB) // cypress -- let host engine dictate
// max ai at once.
#ifdef FTE
while(i < 24)
#else
while(i < nzp_maxai())
#endif // FTE
{ {
spawnSingleZombEnt(i); spawnSingleZombEnt(i);
i++; i++;

View file

@ -248,17 +248,6 @@ void() SUB_Null2 = {};
#define VEC_VIEW_OFS '0 0 32' #define VEC_VIEW_OFS '0 0 32'
// FIXME: Limits Quakespasm to 12 zombies lol
#ifdef FTE
#define MAX_ZOMB 24
#else
#define MAX_ZOMB 12
#endif // FTE
vector trace_plane_normal; vector trace_plane_normal;
// //