mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-21 03:11:40 +00:00
Fixed a problem where floating point numbers for actor radius and height were not interpreted correctly. Fixes #623
This commit is contained in:
parent
ef18385ee7
commit
ff96a669e0
1 changed files with 3 additions and 3 deletions
|
@ -561,9 +561,9 @@ namespace CodeImp.DoomBuilder.Config
|
|||
this.spritescale.Height = actor.GetPropertyValueFloat("yscale", 0);
|
||||
|
||||
// Size
|
||||
if(actor.HasPropertyWithValue("radius")) radius = actor.GetPropertyValueInt("radius", 0);
|
||||
if(actor.HasPropertyWithValue("height")) height = actor.GetPropertyValueInt("height", 0);
|
||||
if (actor.HasPropertyWithValue("renderradius")) renderradius = actor.GetPropertyValueInt("renderradius", 0);
|
||||
if(actor.HasPropertyWithValue("radius")) radius = actor.GetPropertyValueFloat("radius", 0);
|
||||
if(actor.HasPropertyWithValue("height")) height = actor.GetPropertyValueFloat("height", 0);
|
||||
if (actor.HasPropertyWithValue("renderradius")) renderradius = actor.GetPropertyValueFloat("renderradius", 0);
|
||||
if (renderradius == 0)
|
||||
renderradius = radius;
|
||||
|
||||
|
|
Loading…
Reference in a new issue