From ab39eb353596b2d948cd2dcc0053f500dbdf4795 Mon Sep 17 00:00:00 2001 From: BielBdeLuna <7318.tk@gmail.com> Date: Tue, 28 May 2013 02:48:56 +0200 Subject: [PATCH] portalSky simple rendering addition --- neo/renderer/RenderWorld_load.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/renderer/RenderWorld_load.cpp b/neo/renderer/RenderWorld_load.cpp index f1605d77..88b19dc6 100644 --- a/neo/renderer/RenderWorld_load.cpp +++ b/neo/renderer/RenderWorld_load.cpp @@ -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; } }