summaryrefslogtreecommitdiff
path: root/src/game/g_team.c
diff options
context:
space:
mode:
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;
}
}