added PaletteType enum
This commit is contained in:
@@ -14,7 +14,7 @@ namespace OpenRa.Game.Traits
|
||||
{
|
||||
var unit = self.traits.Get<Unit>();
|
||||
|
||||
var shadowSprites = r.Select(a => a.WithPalette(8));
|
||||
var shadowSprites = r.Select(a => a.WithPalette(PaletteType.Shadow));
|
||||
var flyingSprites = (unit.Altitude <= 0) ? r
|
||||
: r.Select(a => a.WithPos(a.Pos - new float2(0, unit.Altitude)).WithZOffset(3));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user