engine: common: mod_bmodel: Fixed default texture name check
REF_DEFAULT_TEXTURE defines the canonical name, so is used instead of a string literal.
This commit is contained in:
parent
6c9ce478a9
commit
372514151d
1 changed files with 1 additions and 1 deletions
|
@ -2495,7 +2495,7 @@ static void Mod_LoadSurfaces( dbspmodel_t *bmod )
|
||||||
if( !Q_strncmp( tex->name, "sky", 3 ))
|
if( !Q_strncmp( tex->name, "sky", 3 ))
|
||||||
SetBits( out->flags, SURF_DRAWSKY );
|
SetBits( out->flags, SURF_DRAWSKY );
|
||||||
|
|
||||||
if(( tex->name[0] == '*' && Q_stricmp( tex->name, "*default" )) || tex->name[0] == '!' )
|
if(( tex->name[0] == '*' && Q_stricmp( tex->name, REF_DEFAULT_TEXTURE )) || tex->name[0] == '!' )
|
||||||
SetBits( out->flags, SURF_DRAWTURB );
|
SetBits( out->flags, SURF_DRAWTURB );
|
||||||
|
|
||||||
if( !Host_IsQuakeCompatible( ))
|
if( !Host_IsQuakeCompatible( ))
|
||||||
|
|
Loading…
Add table
Reference in a new issue