mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-02-07 08:21:10 +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,13 +153,17 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
i *= 2;
|
||||
}
|
||||
|
||||
float z = General.GetByIndex(things, 0).Position.z;
|
||||
foreach (Thing t in things)
|
||||
if (General.Map.SRB2)
|
||||
{
|
||||
if (t.Position.z != z) return "";
|
||||
}
|
||||
float z = General.GetByIndex(things, 0).Position.z;
|
||||
foreach (Thing t in things)
|
||||
{
|
||||
if (t.Position.z != z) return "";
|
||||
}
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue