summaryrefslogtreecommitdiff
path: root/src/cgame/cg_scanner.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2007-09-25 13:41:22 +0000
committerTim Angus <tim@ngus.net>2007-09-25 13:41:22 +0000
commitef5690eecfe614cee99b56d32b3634980b9a0e9d (patch)
treeba3dc9966502bb5bb4b67a8bc17823af9a579998 /src/cgame/cg_scanner.c
parent1b2c5b4e113fb1f182158f7c7b191717b79e3836 (diff)
* Replace "powerups" state data with "misc"
* Remove ps->ammo[ ] and replace with ps->ammo and ps->clips; this means only one ammo using weapon may be carried at once, but this is the case anyway * No need for BG_(Un)PackAmmoArray anymore, so remove them
Diffstat (limited to 'src/cgame/cg_scanner.c')
-rw-r--r--src/cgame/cg_scanner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_scanner.c b/src/cgame/cg_scanner.c
index 0711c1db..195b6d76 100644
--- a/src/cgame/cg_scanner.c
+++ b/src/cgame/cg_scanner.c
@@ -82,7 +82,7 @@ void CG_UpdateEntityPositions( void )
}
else if( cent->currentState.eType == ET_PLAYER )
{
- int team = cent->currentState.powerups & 0x00FF;
+ int team = cent->currentState.misc & 0x00FF;
if( team == PTE_ALIENS )
{