diff --git a/OpenRA.Game/Graphics/Animation.cs b/OpenRA.Game/Graphics/Animation.cs
index 382f549b40..832a5fc905 100644
--- a/OpenRA.Game/Graphics/Animation.cs
+++ b/OpenRA.Game/Graphics/Animation.cs
@@ -126,7 +126,7 @@ namespace OpenRA.Graphics
while( timeUntilNextFrame <= 0 )
{
tickFunc();
- timeUntilNextFrame += CurrentSequence != null ? CurrentSequence.Speed : 40; // 25 fps == 40 ms
+ timeUntilNextFrame += CurrentSequence != null ? CurrentSequence.Tick : 40; // 25 fps == 40 ms
}
}
}
diff --git a/OpenRA.Game/Graphics/Sequence.cs b/OpenRA.Game/Graphics/Sequence.cs
index 5ebbad81ef..c9289dea7e 100644
--- a/OpenRA.Game/Graphics/Sequence.cs
+++ b/OpenRA.Game/Graphics/Sequence.cs
@@ -25,14 +25,14 @@ namespace OpenRA.Graphics
public class Sequence
{
readonly Sprite[] sprites;
- readonly int start, length, facings, speed;
+ readonly int start, length, facings, tick;
public readonly string Name;
public int Start { get { return start; } }
public int End { get { return start + length; } }
public int Length { get { return length; } }
public int Facings { get { return facings; } }
- public int Speed { get { return speed; } }
+ public int Tick { get { return tick; } }
public Sequence(string unit, XmlElement e)
{
@@ -56,10 +56,10 @@ namespace OpenRA.Graphics
else
facings = 1;
- if (e.HasAttribute("speed"))
- speed = int.Parse(e.GetAttribute("speed"));
+ if (e.HasAttribute("tick"))
+ tick = int.Parse(e.GetAttribute("tick"));
else
- speed = 40;
+ tick = 40;
}
public Sprite GetSprite( int frame )
diff --git a/mods/cnc/sequences-structures.xml b/mods/cnc/sequences-structures.xml
index d74635bb59..e0e90c2be5 100644
--- a/mods/cnc/sequences-structures.xml
+++ b/mods/cnc/sequences-structures.xml
@@ -3,18 +3,18 @@
-
+
-
+
-
-
-
+
+
+