mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Only add Z position to flags value for SRB2
This commit is contained in:
parent
d0c9aeb79d
commit
85c53c2d42
1 changed files with 9 additions and 5 deletions
|
@ -153,6 +153,8 @@ namespace CodeImp.DoomBuilder.Windows
|
||||||
i *= 2;
|
i *= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (General.Map.SRB2)
|
||||||
|
{
|
||||||
float z = General.GetByIndex(things, 0).Position.z;
|
float z = General.GetByIndex(things, 0).Position.z;
|
||||||
foreach (Thing t in things)
|
foreach (Thing t in things)
|
||||||
{
|
{
|
||||||
|
@ -161,6 +163,8 @@ namespace CodeImp.DoomBuilder.Windows
|
||||||
|
|
||||||
return (value + ((int)z << 4)).ToString();
|
return (value + ((int)z << 4)).ToString();
|
||||||
}
|
}
|
||||||
|
else return value.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
// This sets up the form to edit the given things
|
// This sets up the form to edit the given things
|
||||||
public void Setup(ICollection<Thing> things)
|
public void Setup(ICollection<Thing> things)
|
||||||
|
|
Loading…
Reference in a new issue