diff --git a/source/server/ai/zombie_core.qc b/source/server/ai/zombie_core.qc index aed4cf3..baa28ca 100644 --- a/source/server/ai/zombie_core.qc +++ b/source/server/ai/zombie_core.qc @@ -1553,7 +1553,18 @@ void() spawnAllZombEnts = local float i; 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); i++; diff --git a/source/server/defs/custom.qc b/source/server/defs/custom.qc index 9adda11..ea5b150 100644 --- a/source/server/defs/custom.qc +++ b/source/server/defs/custom.qc @@ -248,17 +248,6 @@ void() SUB_Null2 = {}; #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; //