mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-04-19 08:58:56 +00:00
Removed duplicate cullType check.
This commit is contained in:
parent
53153c6834
commit
ca2432beca
1 changed files with 3 additions and 4 deletions
|
@ -2082,10 +2082,9 @@ void idMaterial::ParseMaterial( idLexer &src ) {
|
|||
if ( cullType == CT_TWO_SIDED ) {
|
||||
for ( i = 0 ; i < numStages ; i++ ) {
|
||||
if ( pd->parseStages[i].lighting != SL_AMBIENT || pd->parseStages[i].texture.texgen != TG_EXPLICIT ) {
|
||||
if ( cullType == CT_TWO_SIDED ) {
|
||||
cullType = CT_FRONT_SIDED;
|
||||
shouldCreateBackSides = true;
|
||||
}
|
||||
cullType = CT_FRONT_SIDED;
|
||||
shouldCreateBackSides = true;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue