mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-24 21:01:09 +00:00
VITA/NX: Let engine dictate max AI
This commit is contained in:
parent
07b01ad46e
commit
5ededc76b4
1 changed files with 17 additions and 1 deletions
|
@ -1299,6 +1299,21 @@ void PF_GrenadePulse(void)
|
|||
MSG_WriteByte (&client->message,svc_pulse);
|
||||
}
|
||||
|
||||
/*
|
||||
=================
|
||||
PF_MaxZombies
|
||||
|
||||
Returns the total number of zombies
|
||||
the platform can have out at once.
|
||||
|
||||
nzp_maxai()
|
||||
=================
|
||||
*/
|
||||
void PF_MaxZombies(void)
|
||||
{
|
||||
G_FLOAT(OFS_RETURN) = 24;
|
||||
}
|
||||
|
||||
/*
|
||||
=================
|
||||
PF_achievement
|
||||
|
@ -3788,7 +3803,8 @@ static builtin_t pr_builtin[] =
|
|||
NULL, // #499
|
||||
PF_SongEgg, // #500
|
||||
PF_MaxAmmo, // #501
|
||||
PF_GrenadePulse, // #502
|
||||
PF_GrenadePulse, // #502
|
||||
PF_MaxZombies, // #503
|
||||
};
|
||||
|
||||
builtin_t *pr_builtins = pr_builtin;
|
||||
|
|
Loading…
Reference in a new issue