Skip to content

Commit

Permalink
hack BelowUnits z
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisforbes committed Sep 17, 2010
1 parent e0a4cb4 commit ff611da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenRA.Mods.RA/BelowUnits.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class BelowUnits : IRenderModifier
{
public IEnumerable<Renderable> ModifyRender(Actor self, IEnumerable<Renderable> r)
{
return r.Select(a => a.WithZOffset(-1));
return r.Select(a => a.WithZOffset((int) -a.Sprite.size.Y));
}
}
}

0 comments on commit ff611da

Please sign in to comment.