From 45bb0f7b53609d49660e42caa65d067fd9f8893d Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 29 Dec 2012 03:35:48 +0000 Subject: [PATCH] Fix bot skill format so it doesn't always have a space at the beginning of it. --- code/game/g_bot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/g_bot.c b/code/game/g_bot.c index bfd366ab..ae4c3acb 100644 --- a/code/game/g_bot.c +++ b/code/game/g_bot.c @@ -598,7 +598,7 @@ static void G_AddBot( const char *name, float skill, const char *team, int delay Info_SetValueForKey( userinfo, "name", botname ); Info_SetValueForKey( userinfo, "rate", "25000" ); Info_SetValueForKey( userinfo, "snaps", "20" ); - Info_SetValueForKey( userinfo, "skill", va("%5.2f", skill) ); + Info_SetValueForKey( userinfo, "skill", va("%.2f", skill) ); if ( skill >= 1 && skill < 2 ) { Info_SetValueForKey( userinfo, "handicap", "50" );