diff options
author | M. Kristall <mkpdev@gmail.com> | 2009-10-22 23:38:57 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:01 +0000 |
commit | 07931a1768dccad3a57fbd931f2189d0a4ef6408 (patch) | |
tree | 17bfff805ad9716cb57ba79bb7998c45fc45e499 /src/game | |
parent | bcf846aa6083f249519837aec8b9bd1732574ec5 (diff) |
* Remove unnecessary counter argument to tinfo and scores since the number of
arguments is already known
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_cmds.c | 2 | ||||
-rw-r--r-- | src/game/g_team.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index e67fcced..09f1ed71 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -291,7 +291,7 @@ void ScoreboardMessage( gentity_t *ent ) stringlength += j; } - trap_SendServerCommand( ent-g_entities, va( "scores %i %i %i%s", i, + trap_SendServerCommand( ent-g_entities, va( "scores %i %i%s", level.alienKills, level.humanKills, string ) ); } diff --git a/src/game/g_team.c b/src/game/g_team.c index 62805b3c..0c198611 100644 --- a/src/game/g_team.c +++ b/src/game/g_team.c @@ -384,7 +384,7 @@ void TeamplayInfoMessage( gentity_t *ent ) if( !sent ) return; - trap_SendServerCommand( ent - g_entities, va( "tinfo %i%s", sent, string ) ); + trap_SendServerCommand( ent - g_entities, va( "tinfo%s", string ) ); } void CheckTeamStatus( void ) |