Browse Source

filesystem: update max_particles limits based on Unkle Mike's latest engine version

pull/2/head
Alibek Omarov 1 year ago
parent
commit
031594cc99
  1. 2
      filesystem/filesystem.c

2
filesystem/filesystem.c

@ -818,7 +818,7 @@ void FS_ParseGenericGameInfo( gameinfo_t *GameInfo, const char *buf, const qbool @@ -818,7 +818,7 @@ void FS_ParseGenericGameInfo( gameinfo_t *GameInfo, const char *buf, const qbool
else if( !Q_stricmp( token, "max_particles" ))
{
pfile = COM_ParseFile( pfile, token, sizeof( token ));
GameInfo->max_particles = bound( 4096, Q_atoi( token ), 32768 );
GameInfo->max_particles = bound( 1024, Q_atoi( token ), 131072 );
}
else if( !Q_stricmp( token, "gamemode" ))
{

Loading…
Cancel
Save