mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-25 22:34:24 +00:00
filesystem: update max_particles limits based on Unkle Mike's latest engine version
This commit is contained in:
parent
d4bf57c7c2
commit
031594cc99
@ -818,7 +818,7 @@ void FS_ParseGenericGameInfo( gameinfo_t *GameInfo, const char *buf, const qbool
|
|||||||
else if( !Q_stricmp( token, "max_particles" ))
|
else if( !Q_stricmp( token, "max_particles" ))
|
||||||
{
|
{
|
||||||
pfile = COM_ParseFile( pfile, token, sizeof( token ));
|
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" ))
|
else if( !Q_stricmp( token, "gamemode" ))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user