summaryrefslogtreecommitdiff
path: root/src/cgame/cg_scanner.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-15 08:27:58 +0200
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:21:02 +0200
commit8f6cc0930258d39570676d349db062b0c54ba1ad (patch)
treec5fa9e0bf41b1eb7b28978868891a4f68a2c269f /src/cgame/cg_scanner.c
parentebd43d72d1af22fcde4b9857fb226cefab9fcdbf (diff)
multi-protocol: rename powerups to misc in the playerState_t and entityState_t structs
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 ab98b23..033960e 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 )
{