don't bounce from trans surfaces

git-svn-id: svn://svn.icculus.org/netradiant/trunk@405 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
divverent 2009-12-30 10:27:35 +00:00
parent 0037763448
commit ec87692d94

View File

@ -836,6 +836,9 @@ void RadLight( int num )
/* find nodraw bit */
contentFlags = surfaceFlags = compileFlags = 0;
ApplySurfaceParm( "nodraw", &contentFlags, &surfaceFlags, &compileFlags );
// jal : avoid bouncing on trans surfaces
ApplySurfaceParm( "trans", &contentFlags, &surfaceFlags, &compileFlags );
/* early outs? */
if( scale <= 0.0f || (si->compileFlags & C_SKY) || si->autosprite ||