Make Contrail fields readonly.

This commit is contained in:
Paul Chote
2015-08-01 13:29:15 +01:00
parent 6a586fe501
commit eeb101c040

View File

@@ -36,9 +36,11 @@ namespace OpenRA.Mods.Common.Effects
class Contrail : ITick, IRender
{
ContrailInfo info;
readonly ContrailInfo info;
readonly IBodyOrientation body;
// This is a mutable struct, so it can't be readonly.
ContrailRenderable trail;
IBodyOrientation body;
public Contrail(Actor self, ContrailInfo info)
{