Fix aircraft shadow render order.

This commit is contained in:
Paul Chote
2013-05-23 21:25:11 +12:00
parent f7aca32e0e
commit 25dd8d9fa7
3 changed files with 4 additions and 4 deletions

View File

@@ -219,6 +219,6 @@ namespace OpenRA.Graphics
return new int2((int)Math.Round(px.X), (int)Math.Round(px.Y));
}
public float ScreenZPosition(WPos pos) { return (pos.Y + pos.Z)*Game.CellSize/1024f; }
public float ScreenZPosition(WPos pos, int zOffset) { return (pos.Y + pos.Z + zOffset)*Game.CellSize/1024f; }
}
}