diff --git a/code/game/g_bot.c b/code/game/g_bot.c index 66c9ae34..af4906a3 100644 --- a/code/game/g_bot.c +++ b/code/game/g_bot.c @@ -772,7 +772,7 @@ void Svcmd_AddBot_f( void ) { skill = 4; } else { - skill = atof( string ); + skill = Com_Clamp( 1, 5, atof( string ) ); } // team