From a131a594142cc17a8fe991ad5c15b7fe8efcc702 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 3 Mar 2024 07:49:30 +0300 Subject: [PATCH] engine: server: don't limit difficulty level on engine side --- engine/server/sv_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/server/sv_init.c b/engine/server/sv_init.c index 58026c7f..6e35707e 100644 --- a/engine/server/sv_init.c +++ b/engine/server/sv_init.c @@ -1045,7 +1045,9 @@ qboolean SV_SpawnServer( const char *mapname, const char *startspot, qboolean ba // make cvars consistant if( coop.value ) Cvar_SetValue( "deathmatch", 0 ); 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 ); +#endif Cvar_SetValue( "skill", (float)current_skill ); // enforce hpk_maxsize