Make WithRotor fields readonly.

This commit is contained in:
Paul Chote
2015-08-01 13:31:38 +01:00
parent f91b28a2a0
commit d20819735c

View File

@@ -45,9 +45,9 @@ namespace OpenRA.Mods.Common.Traits
public class WithRotor : ITick public class WithRotor : ITick
{ {
WithRotorInfo info; readonly WithRotorInfo info;
Animation rotorAnim; readonly Animation rotorAnim;
IMove movement; readonly IMove movement;
public WithRotor(Actor self, WithRotorInfo info) public WithRotor(Actor self, WithRotorInfo info)
{ {