X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=tools%2Fquake3%2Fq3map2%2Fvisflow.c;h=5a7ffd92de65c6ed8cc77889b3a22e07e76aa666;hp=6c48e2da867dea8cdd62bc7ea74adf7eeeb5bbfe;hb=dac8329952745dbb494bad1c301e44bab05ec0db;hpb=7fc621fc78d0e040dc2c12f38dc53dd9048215dc diff --git a/tools/quake3/q3map2/visflow.c b/tools/quake3/q3map2/visflow.c index 6c48e2da..5a7ffd92 100644 --- a/tools/quake3/q3map2/visflow.c +++ b/tools/quake3/q3map2/visflow.c @@ -1615,7 +1615,7 @@ void BasePortalVis( int portalnum ){ */ /* ydnar: this is known-to-be-working farplane code */ - if ( farPlaneDist > 0.0f ) { + if ( !p->sky && !tp->sky && farPlaneDist > 0.0f ) { VectorSubtract( p->origin, tp->origin, dir ); if ( VectorLength( dir ) - p->radius - tp->radius > farPlaneDist ) { continue;