Skip to content

Commit 61200b8

Browse files
committed
irrelevant changes
1 parent 3fb0840 commit 61200b8

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/game/client/videoservices/video_material.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,14 +357,17 @@ void CVideoMaterial::CreateVideoMaterial( const char *pMaterialName )
357357
pVMTKeyValues->SetString( "$ytexture", ytexture );
358358
pVMTKeyValues->SetString( "$cbtexture", cbtexture );
359359
pVMTKeyValues->SetString( "$crtexture", crtexture );
360+
pVMTKeyValues->SetString( "$basetexture", m_yTexture->GetName() );
360361
pVMTKeyValues->SetInt( "$nobasetexture", 1 );
361-
pVMTKeyValues->SetInt( "$nofog", 1 );
362-
pVMTKeyValues->SetInt( "$spriteorientation", 3 );
363-
pVMTKeyValues->SetInt( "$translucent", 1 );
364362
pVMTKeyValues->SetInt( "$nolod", 1 );
365363
pVMTKeyValues->SetInt( "$nomip", 1 );
364+
pVMTKeyValues->SetInt( "$nofog", 1 );
365+
pVMTKeyValues->SetInt( "$translucent", 1 );
366366
pVMTKeyValues->SetInt( "$vertexcolor", 1 );
367367
pVMTKeyValues->SetInt( "$vertexalpha", 1 );
368+
pVMTKeyValues->SetInt( "$gammacolorread", 0 );
369+
pVMTKeyValues->SetInt( "$spriteorientation", 3 );
370+
368371
m_videoMaterial.Init( pMaterialName, pVMTKeyValues );
369372
// Refresh the material vars because apparently init doesn't do this
370373
// and retains the previous video's frame

0 commit comments

Comments
 (0)