Fixed bugfix :)

This commit is contained in:
Bob
2009-10-30 04:07:27 +13:00
parent 242fa717b6
commit 0af1e86e65

View File

@@ -21,7 +21,7 @@ namespace OpenRa.Game.Graphics
start = src.Start + int.Parse(e.GetAttribute("start"));
if (e.GetAttribute("length") == "*" || e.GetAttribute("end") == "*")
length = src.End - start + 1;
length = src.End - src.Start + 1;
else if (e.HasAttribute("length"))
length = int.Parse(e.GetAttribute("length"));
else if (e.HasAttribute("end"))