fix some more warnings

This commit is contained in:
Rudolf Polzer 2011-06-05 19:21:31 +02:00
parent 772c8fda0f
commit dbaf1a8f00

View File

@ -3204,7 +3204,7 @@ determines if two clusters are visible to each other using the PVS
qboolean ClusterVisible( int a, int b )
{
int portalClusters, leafBytes;
int leafBytes;
byte *pvs;
@ -3221,7 +3221,7 @@ qboolean ClusterVisible( int a, int b )
return qtrue;
/* get pvs data */
portalClusters = ((int *) bspVisBytes)[ 0 ];
/* portalClusters = ((int *) bspVisBytes)[ 0 ]; */
leafBytes = ((int*) bspVisBytes)[ 1 ];
pvs = bspVisBytes + VIS_HEADER_SIZE + (a * leafBytes);