From b6d64b7dc4a8e9bf55192d65408b312c7fae3370 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 26 Apr 2013 15:46:12 -0500 Subject: [PATCH] Correct TeamCount return type and team argument type --- code/game/g_client.c | 2 +- code/game/g_local.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/g_client.c b/code/game/g_client.c index 87edfd46..737707cd 100644 --- a/code/game/g_client.c +++ b/code/game/g_client.c @@ -540,7 +540,7 @@ TeamCount Returns number of players on a team ================ */ -team_t TeamCount( int ignoreClientNum, int team ) { +int TeamCount( int ignoreClientNum, team_t team ) { int i; int count = 0; diff --git a/code/game/g_local.h b/code/game/g_local.h index 5871c513..d2ff996c 100644 --- a/code/game/g_local.h +++ b/code/game/g_local.h @@ -560,7 +560,7 @@ void Weapon_HookThink (gentity_t *ent); // // g_client.c // -team_t TeamCount( int ignoreClientNum, int team ); +int TeamCount( int ignoreClientNum, team_t team ); int TeamLeader( int team ); team_t PickTeam( int ignoreClientNum ); void SetClientViewAngle( gentity_t *ent, vec3_t angle );