diff options
author | M. Kristall <mkpdev@gmail.com> | 2012-06-25 16:57:52 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:16 +0000 |
commit | d21e89988cfb92272ab6aa133cd32faf7a7cc3a0 (patch) | |
tree | e316a409d39a4b41f03235e1aa1497e156f157bd | |
parent | b042448faef9f0e87817e40f06219d0673d6954d (diff) |
* Fix status command's rate value
-rw-r--r-- | src/game/g_svcmds.c | 2 |
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" ) } } |