portalSky simple rendering addition

This commit is contained in:
BielBdeLuna 2013-05-28 02:48:56 +02:00
parent 6407881cff
commit ab39eb3535

View file

@ -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;
}
}