Skip to content

Commit 3fb0840

Browse files
committed
$nobasetexture
1 parent 66d54b0 commit 3fb0840

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/game/client/videoservices/video_material.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,13 +357,14 @@ void CVideoMaterial::CreateVideoMaterial( const char *pMaterialName )
357357
pVMTKeyValues->SetString( "$ytexture", ytexture );
358358
pVMTKeyValues->SetString( "$cbtexture", cbtexture );
359359
pVMTKeyValues->SetString( "$crtexture", crtexture );
360+
pVMTKeyValues->SetInt( "$nobasetexture", 1 );
360361
pVMTKeyValues->SetInt( "$nofog", 1 );
361362
pVMTKeyValues->SetInt( "$spriteorientation", 3 );
362363
pVMTKeyValues->SetInt( "$translucent", 1 );
363364
pVMTKeyValues->SetInt( "$nolod", 1 );
365+
pVMTKeyValues->SetInt( "$nomip", 1 );
364366
pVMTKeyValues->SetInt( "$vertexcolor", 1 );
365367
pVMTKeyValues->SetInt( "$vertexalpha", 1 );
366-
pVMTKeyValues->SetInt( "$nomip", 1 );
367368
m_videoMaterial.Init( pMaterialName, pVMTKeyValues );
368369
// Refresh the material vars because apparently init doesn't do this
369370
// and retains the previous video's frame

0 commit comments

Comments
 (0)