Update ShroudRenderer.cs

fix typo
This commit is contained in:
Matthias Mailänder
2014-06-27 13:30:57 +02:00
parent 0989a5ea08
commit e9ee4a1e15

View File

@@ -89,7 +89,7 @@ namespace OpenRA.Mods.RA
throw new InvalidOperationException("ShroudRenderer must define the same number of shroud and fog variants!");
if ((info.OverrideFullFog == null) ^ (info.OverrideFullShroud == null))
throw new InvalidOperationException("ShroudRenderer must cannot define overrides for only one of shroud or fog!");
throw new InvalidOperationException("ShroudRenderer cannot define overrides for only one of shroud or fog!");
var variantCount = info.ShroudVariants.Length;
variantStride = info.Index.Length + (info.OverrideFullShroud != null ? 1 : 0);