initialize rawGridPoints.ambient correctly
This commit is contained in:
@@ -1825,7 +1825,9 @@ void SetupGrid( void ){
|
||||
/* clear lightgrid */
|
||||
for ( i = 0; i < numRawGridPoints; i++ )
|
||||
{
|
||||
VectorCopy( ambientColor, rawGridPoints[ i ].ambient[ j ] );
|
||||
for ( j = 0; j < MAX_LIGHTMAPS; j++ )
|
||||
VectorCopy( ambientColor, rawGridPoints[ i ].ambient[ j ] );
|
||||
|
||||
rawGridPoints[ i ].styles[ 0 ] = LS_NORMAL;
|
||||
bspGridPoints[ i ].styles[ 0 ] = LS_NORMAL;
|
||||
for ( j = 1; j < MAX_LIGHTMAPS; j++ )
|
||||
|
||||
Reference in New Issue
Block a user