Fixed bugfix :)
This commit is contained in:
@@ -21,7 +21,7 @@ namespace OpenRa.Game.Graphics
|
|||||||
start = src.Start + int.Parse(e.GetAttribute("start"));
|
start = src.Start + int.Parse(e.GetAttribute("start"));
|
||||||
|
|
||||||
if (e.GetAttribute("length") == "*" || e.GetAttribute("end") == "*")
|
if (e.GetAttribute("length") == "*" || e.GetAttribute("end") == "*")
|
||||||
length = src.End - start + 1;
|
length = src.End - src.Start + 1;
|
||||||
else if (e.HasAttribute("length"))
|
else if (e.HasAttribute("length"))
|
||||||
length = int.Parse(e.GetAttribute("length"));
|
length = int.Parse(e.GetAttribute("length"));
|
||||||
else if (e.HasAttribute("end"))
|
else if (e.HasAttribute("end"))
|
||||||
|
|||||||
Reference in New Issue
Block a user