summaryrefslogtreecommitdiff
path: root/src/cgame/cg_scanner.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_scanner.c')
-rw-r--r--src/cgame/cg_scanner.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cgame/cg_scanner.c b/src/cgame/cg_scanner.c
index e02939bd..c4a7a067 100644
--- a/src/cgame/cg_scanner.c
+++ b/src/cgame/cg_scanner.c
@@ -77,10 +77,10 @@ void CG_Scanner( )
}
//draw alien items below scanner plane
- for( i = 0; i < cgIP.numDroidItems; i++ )
+ for( i = 0; i < cgIP.numAlienItems; i++ )
{
VectorClear( relOrigin );
- VectorSubtract( cgIP.droidItemPositions[ i ], origin, relOrigin );
+ VectorSubtract( cgIP.alienItemPositions[ i ], origin, relOrigin );
if( VectorLength( relOrigin ) < RANGE && ( relOrigin[ 2 ] < 0 ) )
CG_DrawBlips( relOrigin, aIbelow );
@@ -99,10 +99,10 @@ void CG_Scanner( )
}
//draw alien items above scanner plane
- for( i = 0; i < cgIP.numDroidItems; i++ )
+ for( i = 0; i < cgIP.numAlienItems; i++ )
{
VectorClear( relOrigin );
- VectorSubtract( cgIP.droidItemPositions[ i ], origin, relOrigin );
+ VectorSubtract( cgIP.alienItemPositions[ i ], origin, relOrigin );
if( VectorLength( relOrigin ) < RANGE && ( relOrigin[ 2 ] > 0 ) )
CG_DrawBlips( relOrigin, aIabove );