mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-04-21 18:30:56 +00:00
portalSky simple rendering addition
This commit is contained in:
parent
6407881cff
commit
ab39eb3535
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" ) ) ) { //7318 - portalsky - moded
|
||||
def->needsPortalSky = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue