diff options
author | Tim Angus <tim@ngus.net> | 2007-09-25 13:41:22 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2007-09-25 13:41:22 +0000 |
commit | ef5690eecfe614cee99b56d32b3634980b9a0e9d (patch) | |
tree | ba3dc9966502bb5bb4b67a8bc17823af9a579998 /src/cgame/cg_scanner.c | |
parent | 1b2c5b4e113fb1f182158f7c7b191717b79e3836 (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.c | 2 |
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 ) { |