Fixed fields missing the readonly modifier
This commit is contained in:
@@ -18,8 +18,8 @@ namespace OpenRA.Mods.Common.Effects
|
||||
{
|
||||
public class ContrailFader : IEffect
|
||||
{
|
||||
WPos pos;
|
||||
ContrailRenderable trail;
|
||||
readonly WPos pos;
|
||||
readonly ContrailRenderable trail;
|
||||
int ticks;
|
||||
|
||||
public ContrailFader(WPos pos, ContrailRenderable trail)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace OpenRA.Mods.Common.Effects
|
||||
|
||||
readonly SpriteFont font;
|
||||
readonly string text;
|
||||
Color color;
|
||||
readonly Color color;
|
||||
int remaining;
|
||||
WPos pos;
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace OpenRA.Mods.Common.Effects
|
||||
readonly Animation flag;
|
||||
readonly Animation circles;
|
||||
|
||||
List<WPos> targetLineNodes = new List<WPos> { };
|
||||
readonly List<WPos> targetLineNodes = new List<WPos> { };
|
||||
List<CPos> cachedLocations;
|
||||
|
||||
public RallyPointIndicator(Actor building, RallyPoint rp)
|
||||
|
||||
Reference in New Issue
Block a user