mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-29 07:32:25 +00:00
added a easier material name for portal skies
This commit is contained in:
parent
d3b2794c24
commit
b34c625798
1 changed files with 1 additions and 1 deletions
|
@ -655,7 +655,7 @@ void idRenderWorldLocal::AddWorldModelEntities() {
|
|||
for ( int j = 0; j < hModel->NumSurfaces(); j++ ) {
|
||||
const modelSurface_t *surf = hModel->Surface( j );
|
||||
|
||||
if ( surf->shader->GetName() == idStr( "textures/smf/portal_sky" ) ) {
|
||||
if ( ( surf->shader->GetName() == idStr( "textures/smf/portal_sky" ) ) || ( surf->shader->GetName() == idStr( "textures/editor/portal_sky" ) ) ) {
|
||||
def->needsPortalSky = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue