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