engine: client: prevent empty lightstyle console flood
This commit is contained in:
parent
2fddbdddee
commit
95ff9e7165
1 changed files with 2 additions and 1 deletions
|
@ -2448,7 +2448,8 @@ void CL_SetLightstyle( int style, const char *s, float f )
|
|||
}
|
||||
}
|
||||
|
||||
Con_Reportf( "Lightstyle %i (%s), interp %s\n", style, ls->pattern, ls->interp ? "Yes" : "No" );
|
||||
if( ls->length >= 1 )
|
||||
Con_Reportf( "Lightstyle %i (%s), interp %s\n", style, ls->pattern, ls->interp ? "Yes" : "No" );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue