summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2012-06-25 16:57:52 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:18:16 +0000
commitd21e89988cfb92272ab6aa133cd32faf7a7cc3a0 (patch)
treee316a409d39a4b41f03235e1aa1497e156f157bd
parentb042448faef9f0e87817e40f06219d0673d6954d (diff)
* Fix status command's rate value
-rw-r--r--src/game/g_svcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_svcmds.c b/src/game/g_svcmds.c
index 16cb6b8b..9211033b 100644
--- a/src/game/g_svcmds.c
+++ b/src/game/g_svcmds.c
@@ -156,7 +156,7 @@ static void Svcmd_Status_f( void )
trap_GetUserinfo( i, userinfo, sizeof( userinfo ) );
G_Printf( "%-21s ", Info_ValueForKey( userinfo, "ip" ) );
- G_Printf( "%-8d ", Info_ValueForKey( userinfo, "rate" ) );
+ G_Printf( "%-8d ", atoi( Info_ValueForKey( userinfo, "rate" ) ) );
G_Printf( "%s\n", cl->pers.netname ); // Info_ValueForKey( userinfo, "name" )
}
}