Make RenderVoxels fields readonly.
This commit is contained in:
@@ -73,11 +73,11 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
public class RenderVoxels : IRender, INotifyOwnerChanged
|
public class RenderVoxels : IRender, INotifyOwnerChanged
|
||||||
{
|
{
|
||||||
readonly List<VoxelAnimation> components = new List<VoxelAnimation>();
|
readonly List<VoxelAnimation> components = new List<VoxelAnimation>();
|
||||||
Actor self;
|
readonly Actor self;
|
||||||
RenderVoxelsInfo info;
|
readonly RenderVoxelsInfo info;
|
||||||
IBodyOrientation body;
|
readonly IBodyOrientation body;
|
||||||
WRot camera;
|
readonly WRot camera;
|
||||||
WRot lightSource;
|
readonly WRot lightSource;
|
||||||
|
|
||||||
public RenderVoxels(Actor self, RenderVoxelsInfo info)
|
public RenderVoxels(Actor self, RenderVoxelsInfo info)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user