mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-06-03 10:21:36 +00:00
Fixed: ZScript: scale property should be expanded into xscale and yscale; Fixed: if actor's Spawn state starts with TNT1, first non-TNT1 frame will be used
This commit is contained in:
parent
87fdd67fd6
commit
55b24eef39
6 changed files with 47 additions and 10 deletions
|
@ -118,7 +118,15 @@ namespace CodeImp.DoomBuilder.ZDoom
|
|||
|
||||
//parser.LogWarning(string.Format("{0} = [{1}]", propertyname, string.Join(", ", propertyvalues.ToArray())));
|
||||
// set property
|
||||
props[propertyname] = propertyvalues;
|
||||
// translate "scale" to x and y scale
|
||||
if (propertyname == "scale")
|
||||
{
|
||||
props["xscale"] = props["yscale"] = propertyvalues;
|
||||
}
|
||||
else
|
||||
{
|
||||
props[propertyname] = propertyvalues;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue