NEW 3DS: Set max AI from 12->18

This commit is contained in:
cypress 2023-10-16 16:15:36 -04:00 committed by GitHub
parent 9709f2071a
commit 5e7fe516f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 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)
{
if (new3ds_flag)
G_FLOAT(OFS_RETURN) = 18;
else
G_FLOAT(OFS_RETURN) = 12;
}