mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 13:40:56 +00:00
Fix typo in animMap and videoMap warnings
This commit is contained in:
parent
c8c7bb1dc3
commit
07290a7d52
2 changed files with 4 additions and 4 deletions
|
@ -690,7 +690,7 @@ static qboolean ParseStage( shaderStage_t *stage, char **text )
|
||||||
token = COM_ParseExt( text, qfalse );
|
token = COM_ParseExt( text, qfalse );
|
||||||
if ( !token[0] )
|
if ( !token[0] )
|
||||||
{
|
{
|
||||||
ri.Printf( PRINT_WARNING, "WARNING: missing parameter for 'animMmap' keyword in shader '%s'\n", shader.name );
|
ri.Printf( PRINT_WARNING, "WARNING: missing parameter for 'animMap' keyword in shader '%s'\n", shader.name );
|
||||||
return qfalse;
|
return qfalse;
|
||||||
}
|
}
|
||||||
stage->bundle[0].imageAnimationSpeed = atof( token );
|
stage->bundle[0].imageAnimationSpeed = atof( token );
|
||||||
|
@ -728,7 +728,7 @@ static qboolean ParseStage( shaderStage_t *stage, char **text )
|
||||||
token = COM_ParseExt( text, qfalse );
|
token = COM_ParseExt( text, qfalse );
|
||||||
if ( !token[0] )
|
if ( !token[0] )
|
||||||
{
|
{
|
||||||
ri.Printf( PRINT_WARNING, "WARNING: missing parameter for 'videoMmap' keyword in shader '%s'\n", shader.name );
|
ri.Printf( PRINT_WARNING, "WARNING: missing parameter for 'videoMap' keyword in shader '%s'\n", shader.name );
|
||||||
return qfalse;
|
return qfalse;
|
||||||
}
|
}
|
||||||
stage->bundle[0].videoMapHandle = ri.CIN_PlayCinematic( token, 0, 0, 256, 256, (CIN_loop | CIN_silent | CIN_shader));
|
stage->bundle[0].videoMapHandle = ri.CIN_PlayCinematic( token, 0, 0, 256, 256, (CIN_loop | CIN_silent | CIN_shader));
|
||||||
|
|
|
@ -753,7 +753,7 @@ static qboolean ParseStage( shaderStage_t *stage, char **text )
|
||||||
token = COM_ParseExt( text, qfalse );
|
token = COM_ParseExt( text, qfalse );
|
||||||
if ( !token[0] )
|
if ( !token[0] )
|
||||||
{
|
{
|
||||||
ri.Printf( PRINT_WARNING, "WARNING: missing parameter for 'animMmap' keyword in shader '%s'\n", shader.name );
|
ri.Printf( PRINT_WARNING, "WARNING: missing parameter for 'animMap' keyword in shader '%s'\n", shader.name );
|
||||||
return qfalse;
|
return qfalse;
|
||||||
}
|
}
|
||||||
stage->bundle[0].imageAnimationSpeed = atof( token );
|
stage->bundle[0].imageAnimationSpeed = atof( token );
|
||||||
|
@ -794,7 +794,7 @@ static qboolean ParseStage( shaderStage_t *stage, char **text )
|
||||||
token = COM_ParseExt( text, qfalse );
|
token = COM_ParseExt( text, qfalse );
|
||||||
if ( !token[0] )
|
if ( !token[0] )
|
||||||
{
|
{
|
||||||
ri.Printf( PRINT_WARNING, "WARNING: missing parameter for 'videoMmap' keyword in shader '%s'\n", shader.name );
|
ri.Printf( PRINT_WARNING, "WARNING: missing parameter for 'videoMap' keyword in shader '%s'\n", shader.name );
|
||||||
return qfalse;
|
return qfalse;
|
||||||
}
|
}
|
||||||
stage->bundle[0].videoMapHandle = ri.CIN_PlayCinematic( token, 0, 0, 256, 256, (CIN_loop | CIN_silent | CIN_shader));
|
stage->bundle[0].videoMapHandle = ri.CIN_PlayCinematic( token, 0, 0, 256, 256, (CIN_loop | CIN_silent | CIN_shader));
|
||||||
|
|
Loading…
Reference in a new issue