mirror of
https://github.com/nzp-team/glquake.git
synced 2024-12-01 08:21:33 +00:00
NEW 3DS: Set max AI from 12->18
This commit is contained in:
parent
9709f2071a
commit
5e7fe516f6
1 changed files with 6 additions and 1 deletions
|
@ -23,6 +23,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#define PR_MAX_TEMPSTRING 2048 // 2001-10-25 Enhanced temp string handling by Maddes
|
#define PR_MAX_TEMPSTRING 2048 // 2001-10-25 Enhanced temp string handling by Maddes
|
||||||
#define RETURN_EDICT(e) (((int *)pr_globals)[OFS_RETURN] = EDICT_TO_PROG(e))
|
#define RETURN_EDICT(e) (((int *)pr_globals)[OFS_RETURN] = EDICT_TO_PROG(e))
|
||||||
|
|
||||||
|
extern bool new3ds_flag;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
===============================================================================
|
===============================================================================
|
||||||
|
|
||||||
|
@ -3241,6 +3243,9 @@ nzp_maxai()
|
||||||
*/
|
*/
|
||||||
void PF_MaxZombies(void)
|
void PF_MaxZombies(void)
|
||||||
{
|
{
|
||||||
|
if (new3ds_flag)
|
||||||
|
G_FLOAT(OFS_RETURN) = 18;
|
||||||
|
else
|
||||||
G_FLOAT(OFS_RETURN) = 12;
|
G_FLOAT(OFS_RETURN) = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue