summaryrefslogtreecommitdiff
path: root/src/cgame/cg_weapons.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_weapons.c')
-rw-r--r--src/cgame/cg_weapons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c
index 55ad649..19a0bfc 100644
--- a/src/cgame/cg_weapons.c
+++ b/src/cgame/cg_weapons.c
@@ -911,9 +911,9 @@ static void CG_GenerateCKitDisplay( void )
part 1: figure out what we're dealing with
*/
- powerNetwork = ( ps->misc[ MISC_INFOHEAD ] & 1023 );
+ powerNetwork = ps->misc[ MISC_POWER_NETWORK ] & 1023;
- probeEntity = ( ps->misc[ MISC_INFOHEAD ] >> 10 ) & 1023;
+ probeEntity = ps->misc[ MISC_PROBE_ENTITY ] & 1023;
if( probeEntity != 1023 )
{
target = qtrue;