Make WithVoxelBarrel fields readonly.

This commit is contained in:
Paul Chote
2015-08-01 13:33:20 +01:00
parent 322d941332
commit a127c6b050

View File

@@ -48,11 +48,11 @@ namespace OpenRA.Mods.Common.Traits
public class WithVoxelBarrel public class WithVoxelBarrel
{ {
WithVoxelBarrelInfo info; readonly WithVoxelBarrelInfo info;
Actor self; readonly Actor self;
Armament armament; readonly Armament armament;
Turreted turreted; readonly Turreted turreted;
IBodyOrientation body; readonly IBodyOrientation body;
public WithVoxelBarrel(Actor self, WithVoxelBarrelInfo info) public WithVoxelBarrel(Actor self, WithVoxelBarrelInfo info)
{ {