vtf: fix cubemap loading

This commit is contained in:
nillerusr
2022-11-30 14:07:51 +03:00
parent d2b202836d
commit 20f5783225
2 changed files with 6 additions and 7 deletions
+4
View File
@@ -1195,6 +1195,10 @@ bool CMaterial::ShouldSkipVar( KeyValues *pVar, bool *pWasConditional )
{
bShouldSkip = !IsX360();
}
else if ( ! stricmp( pCond, "gameconsole" ) )
{
bShouldSkip = !IsGameConsole();
}
else
{
Warning( "unrecognized conditional test %s in %s\n", pVarName, GetName() );