Fixed, Visual mode: rendering effects of "Slope floor/ceiling to here" things (9500/9501) should not be applied when their arg0 is 0.

This commit is contained in:
MaxED 2016-05-02 18:36:17 +00:00 committed by spherallic
parent 600851e263
commit 2e32b8839a
2 changed files with 5 additions and 2 deletions

View file

@ -941,7 +941,7 @@ zdoom
height = 8;
arg0
{
title = "Line";
title = "Line Tag";
type = 15;
}
}
@ -953,7 +953,7 @@ zdoom
height = 4;
arg0
{
title = "Line";
title = "Line Tag";
type = 15;
}
}

View file

@ -30,6 +30,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
// This makes sure we are updated with the source linedef information
public override void Update()
{
//mxd. Skip if arg0 is 0.
if(thing.Args[0] == 0) return;
ThingData td = data.Mode.GetThingData(thing);
Thing t = thing;