Replace WithReloadingSpriteTurret with conditions

WithReloadingSpriteTurret was bound to run into conflicts with any WithTurret*Animation traits due to overriding the turret sequence constantly via ITick.
Using (stacked) conditions instead avoids that.
This commit is contained in:
reaperrr
2017-09-16 19:45:41 +02:00
parent 55b11d1745
commit d90ff99e74
5 changed files with 33 additions and 83 deletions

View File

@@ -71,7 +71,6 @@
<Compile Include="Traits\Render\WithEmbeddedTurretSpriteBody.cs" />
<Compile Include="Traits\Render\WithCargo.cs" />
<Compile Include="Traits\Render\WithDeliveryAnimation.cs" />
<Compile Include="Traits\Render\WithReloadingSpriteTurret.cs" />
<Compile Include="Traits\Render\WithRoof.cs" />
<Compile Include="Traits\SupportPowers\IonCannonPower.cs" />
<Compile Include="UtilityCommands\ImportTiberianDawnLegacyMapCommand.cs" />