mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-24 21:11:03 +00:00
Increase NPC limit
This commit is contained in:
parent
3a3f0483c5
commit
6041a39a2e
2 changed files with 4 additions and 4 deletions
|
@ -217,7 +217,7 @@ qboolean G_ParseLiteral( const char **data, const char *string )
|
|||
//
|
||||
// NPC parameters file : ext_data/NPCs/*.npc*
|
||||
//
|
||||
#define MAX_NPC_DATA_SIZE 0x80000
|
||||
#define MAX_NPC_DATA_SIZE 0x200000
|
||||
char NPCParms[MAX_NPC_DATA_SIZE];
|
||||
|
||||
/*
|
||||
|
@ -4084,7 +4084,7 @@ void NPC_LoadParms( void )
|
|||
{
|
||||
int len, totallen, npcExtFNLen, fileCnt, i;
|
||||
char *buffer, *holdChar, *marker;
|
||||
char npcExtensionListBuf[2048]; // The list of file names read in
|
||||
char npcExtensionListBuf[4096]; // The list of file names read in
|
||||
|
||||
//gi.Printf( "Parsing ext_data/npcs/*.npc definitions\n" );
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ qboolean G_ParseLiteral( const char **data, const char *string )
|
|||
//
|
||||
// NPC parameters file : scripts/NPCs.cfg
|
||||
//
|
||||
#define MAX_NPC_DATA_SIZE 0x40000
|
||||
#define MAX_NPC_DATA_SIZE 0x200000
|
||||
char NPCParms[MAX_NPC_DATA_SIZE];
|
||||
|
||||
team_t TranslateTeamName( const char *name )
|
||||
|
@ -2322,7 +2322,7 @@ void NPC_LoadParms( void )
|
|||
g_TeamBeefDirectorsCut->integer != 0 ? "npcs" : "npcs_og");
|
||||
|
||||
char *buffer, *holdChar, *marker;
|
||||
char npcExtensionListBuf[2048]; // The list of file names read in
|
||||
char npcExtensionListBuf[4096]; // The list of file names read in
|
||||
|
||||
//First, load in the npcs.cfg
|
||||
len = gi.FS_ReadFile( npcs_filename, (void **) &buffer );
|
||||
|
|
Loading…
Reference in a new issue