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
{
WithVoxelBarrelInfo info;
Actor self;
Armament armament;
Turreted turreted;
IBodyOrientation body;
readonly WithVoxelBarrelInfo info;
readonly Actor self;
readonly Armament armament;
readonly Turreted turreted;
readonly IBodyOrientation body;
public WithVoxelBarrel(Actor self, WithVoxelBarrelInfo info)
{