hack around some more z-glitches

This commit is contained in:
Chris Forbes
2010-09-17 18:03:29 +12:00
parent a3246866fb
commit e0a4cb4763
3 changed files with 2 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ namespace OpenRA.Mods.RA
var shadowSprites = r.Select(a => a.WithPalette("shadow"));
var flyingSprites = (move.Altitude <= 0) ? r
: r.Select(a => a.WithPos(a.Pos - new float2(0, move.Altitude)).WithZOffset(3));
: r.Select(a => a.WithPos(a.Pos - new float2(0, move.Altitude)).WithZOffset(move.Altitude));
return shadowSprites.Concat(flyingSprites);
}