2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

engine: server: don't limit difficulty level on engine side

This commit is contained in:
Alibek Omarov 2024-03-03 07:49:30 +03:00
parent cd7727b7de
commit a131a59414

View File

@ -1045,7 +1045,9 @@ qboolean SV_SpawnServer( const char *mapname, const char *startspot, qboolean ba
// make cvars consistant // make cvars consistant
if( coop.value ) Cvar_SetValue( "deathmatch", 0 ); if( coop.value ) Cvar_SetValue( "deathmatch", 0 );
current_skill = Q_rint( skill.value ); current_skill = Q_rint( skill.value );
#if 0 // a1ba: don't limit the skill, it's limited in game rules anyway
current_skill = bound( 0, current_skill, 3 ); current_skill = bound( 0, current_skill, 3 );
#endif
Cvar_SetValue( "skill", (float)current_skill ); Cvar_SetValue( "skill", (float)current_skill );
// enforce hpk_maxsize // enforce hpk_maxsize