mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 04:40:55 +00:00
Fixed GLDEFS attenuate 1 and subtractive 1 logic
This commit is contained in:
parent
49f55120ad
commit
a705e47fb9
1 changed files with 3 additions and 3 deletions
|
@ -303,8 +303,8 @@ namespace CodeImp.DoomBuilder.ZDoom
|
|||
return false;
|
||||
}
|
||||
|
||||
if (i == 1) light.Style = DynamicLightRenderStyle.NEGATIVE;
|
||||
}
|
||||
light.Style = (i == 1) ? DynamicLightRenderStyle.NEGATIVE : DynamicLightRenderStyle.NORMAL;
|
||||
}
|
||||
break;
|
||||
|
||||
case "attenuate":
|
||||
|
@ -320,7 +320,7 @@ namespace CodeImp.DoomBuilder.ZDoom
|
|||
return false;
|
||||
}
|
||||
|
||||
if (i == 1) light.Style = DynamicLightRenderStyle.ATTENUATED;
|
||||
light.Style = (i == 1) ? DynamicLightRenderStyle.ATTENUATED : DynamicLightRenderStyle.NORMAL;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue