Skip to content

Commit

Permalink
Fix ZRamp only allowing integer values.
Browse files Browse the repository at this point in the history
  • Loading branch information
MustaphaTR authored and abcdefg30 committed Mar 2, 2022
1 parent e082497 commit 7e4c3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenRA.Mods.Common/Graphics/DefaultSpriteSequence.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public DefaultSpriteSequence(ModData modData, string tileSet, SpriteCache cache,
ShadowStart = LoadField(d, "ShadowStart", -1);
ShadowZOffset = LoadField(d, "ShadowZOffset", DefaultShadowSpriteZOffset).Length;
ZOffset = LoadField(d, "ZOffset", WDist.Zero).Length;
ZRamp = LoadField(d, "ZRamp", 0);
ZRamp = LoadField(d, "ZRamp", 0f);
Tick = LoadField(d, "Tick", 40);
transpose = LoadField(d, "Transpose", false);
Frames = LoadField<int[]>(d, "Frames", null);
Expand Down

0 comments on commit 7e4c3ac

Please sign in to comment.