fix mgg/mrj spinners

This commit is contained in:
Chris Forbes
2010-01-15 17:37:21 +13:00
parent d903f029f9
commit 342d6c26d2
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ namespace OpenRa.Game.Traits
anims.Add( "rotor_1", new AnimationWithOffset(
rotorAnim,
() => Util.GetTurretPosition( self, unit, info.PrimaryOffset, 0 ),
null ) );
null ) { ZOffset = 1 } );
if (info.SecondaryOffset == null) return;
@@ -34,7 +34,7 @@ namespace OpenRa.Game.Traits
anims.Add( "rotor_2", new AnimationWithOffset(
secondRotorAnim,
() => Util.GetTurretPosition(self, unit, info.SecondaryOffset, 0),
null ) );
null) { ZOffset = 1 });
}
public override void Tick(Actor self)

View File

@@ -23,7 +23,7 @@ namespace OpenRa.Game.Traits
anims.Add( "spinner", new AnimationWithOffset(
spinnerAnim,
() => Util.GetTurretPosition( self, unit, info.Offset, 0 ),
null ) );
null ) { ZOffset = 1 } );
}
}
}