hack BelowUnits z

This commit is contained in:
Chris Forbes
2010-09-17 18:07:06 +12:00
parent e0a4cb4763
commit ff611dac32

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.RA
{
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));
}
}
}