summaryrefslogtreecommitdiff
path: root/src/game/g_team.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-03 11:44:18 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:17 +0000
commit6423db17d25884730ec3d8d87c6e4f17b7ae1f84 (patch)
tree0312f955730888e19353f3805c1f1a6eb214e81d /src/game/g_team.c
parent122de31ac2834809fb15088eda6f5278d4525fb1 (diff)
* Remove some unused state structures from game
* Remove some unused (mainly baseq3) cgame cvars
Diffstat (limited to 'src/game/g_team.c')
-rw-r--r--src/game/g_team.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_team.c b/src/game/g_team.c
index c4db7dcf..7d54c5fb 100644
--- a/src/game/g_team.c
+++ b/src/game/g_team.c
@@ -196,7 +196,7 @@ void TeamplayInfoMessage( gentity_t *ent )
Com_sprintf( entry, sizeof( entry ),
" %i %i %i %i %i",
- i, player->client->pers.teamState.location, h, a,
+ i, player->client->pers.location, h, a,
player->client->ps.weapon );
j = strlen( entry );
@@ -235,9 +235,9 @@ void CheckTeamStatus( void )
loc = Team_GetLocation( ent );
if( loc )
- ent->client->pers.teamState.location = loc->health;
+ ent->client->pers.location = loc->health;
else
- ent->client->pers.teamState.location = 0;
+ ent->client->pers.location = 0;
}
}