mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-03-30 22:31:34 +00:00
IOQ3 commit 2248
This commit is contained in:
parent
dc71639588
commit
08571963a0
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,7 @@ static qboolean ParseStage( shaderStage_t *stage, char **text )
|
|||
else if ( !Q_stricmp( token, "$lightmap" ) )
|
||||
{
|
||||
stage->bundle[0].isLightmap = qtrue;
|
||||
if ( shader.lightmapIndex < 0 ) {
|
||||
if ( shader.lightmapIndex < 0 || !tr.lightmaps ) {
|
||||
stage->bundle[0].image[0] = tr.whiteImage;
|
||||
} else {
|
||||
stage->bundle[0].image[0] = tr.lightmaps[shader.lightmapIndex];
|
||||
|
|
Loading…
Reference in a new issue