[quake3-commits] r2395 - trunk/code/game
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Dec 28 22:35:48 EST 2012
Author: ztm
Date: 2012-12-28 22:35:48 -0500 (Fri, 28 Dec 2012)
New Revision: 2395
Modified:
trunk/code/game/g_bot.c
Log:
Fix bot skill format so it doesn't always have a space at the beginning of it.
Modified: trunk/code/game/g_bot.c
===================================================================
--- trunk/code/game/g_bot.c 2012-12-29 03:33:00 UTC (rev 2394)
+++ trunk/code/game/g_bot.c 2012-12-29 03:35:48 UTC (rev 2395)
@@ -598,7 +598,7 @@
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" );
More information about the quake3-commits
mailing list