Visual mode: in some cases solid 3d floors were clipped by translucent ones.

This commit is contained in:
MaxED 2013-07-01 10:51:23 +00:00
parent 985705d8ca
commit 27248a82d7

View file

@ -222,7 +222,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
foreach(Effect3DFloor ef in sd.ExtraFloors)
{
//mxd. Walls of solid 3D floors shouldn't be clipped by translucent 3D floors
if(extrafloor.RenderInside || (!extrafloor.RenderInside && !ef.RenderInside)){
if(extrafloor.Alpha < 255 || (!extrafloor.RenderInside && !ef.RenderInside && extrafloor.Alpha == 255 & ef.Alpha == 255)) {
int num = polygons.Count;
for(int pi = 0; pi < num; pi++)
{