mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 04:40:55 +00:00
Fixed, Classic modes, Visual mode, UDMF: the last argument of Sector_Set3dFloor (160) action must be ignored in UDMF.
This commit is contained in:
parent
c6f9146b8b
commit
cff3489791
2 changed files with 2 additions and 2 deletions
|
@ -625,7 +625,7 @@ namespace CodeImp.DoomBuilder.Rendering
|
|||
{
|
||||
if(l.Action == 160)
|
||||
{
|
||||
int sectortag = (l.Args[1] & 8) != 0 ? l.Args[0] : l.Args[0] + (l.Args[4] << 8);
|
||||
int sectortag = (General.Map.UDMF || (l.Args[1] & 8) != 0) ? l.Args[0] : l.Args[0] + (l.Args[4] << 8);
|
||||
if(sectortag != 0) tagList.Add(sectortag);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -934,7 +934,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
if(l.Front != null)
|
||||
{
|
||||
//mxd. Added hi-tag/line ID check
|
||||
int sectortag = (l.Args[1] & (int)Effect3DFloor.FloorTypes.HiTagIsLineID) != 0 ? l.Args[0] : l.Args[0] + (l.Args[4] << 8);
|
||||
int sectortag = (General.Map.UDMF || (l.Args[1] & (int)Effect3DFloor.FloorTypes.HiTagIsLineID) != 0) ? l.Args[0] : l.Args[0] + (l.Args[4] << 8);
|
||||
if(sectortags.ContainsKey(sectortag))
|
||||
{
|
||||
List<Sector> sectors = sectortags[sectortag];
|
||||
|
|
Loading…
Reference in a new issue