mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +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);
|
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
|
PF_achievement
|
||||||
|
@ -3789,6 +3804,7 @@ static builtin_t pr_builtin[] =
|
||||||
PF_SongEgg, // #500
|
PF_SongEgg, // #500
|
||||||
PF_MaxAmmo, // #501
|
PF_MaxAmmo, // #501
|
||||||
PF_GrenadePulse, // #502
|
PF_GrenadePulse, // #502
|
||||||
|
PF_MaxZombies, // #503
|
||||||
};
|
};
|
||||||
|
|
||||||
builtin_t *pr_builtins = pr_builtin;
|
builtin_t *pr_builtins = pr_builtin;
|
||||||
|
|
Loading…
Reference in a new issue