mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-25 21:31:28 +00:00
SERVER: Let host engine dictate max AI at once
This commit is contained in:
parent
835fdcb1e2
commit
6631813cf9
2 changed files with 12 additions and 12 deletions
|
@ -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++;
|
||||
|
|
|
@ -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;
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue