diff --git a/OpenRA.Game/CVec.cs b/OpenRA.Game/CVec.cs index 5984ea2466..38217a87ca 100644 --- a/OpenRA.Game/CVec.cs +++ b/OpenRA.Game/CVec.cs @@ -118,7 +118,7 @@ namespace OpenRA set { - throw new LuaException("WVec is read-only. Use CVec.New to create a new value"); + throw new LuaException("CVec is read-only. Use CVec.New to create a new value"); } } diff --git a/OpenRA.Game/Map/ProjectedCellRegion.cs b/OpenRA.Game/Map/ProjectedCellRegion.cs index 878c1e97be..e56d29d852 100644 --- a/OpenRA.Game/Map/ProjectedCellRegion.cs +++ b/OpenRA.Game/Map/ProjectedCellRegion.cs @@ -38,7 +38,7 @@ namespace OpenRA // The bottom edge is trickier: cells at MPos.V > bottomRight.V may have // been projected into this region if they have height > 0. - // Each height step is equivalent to 512 WRange units, which is one MPos + // Each height step is equivalent to 512 WDist units, which is one MPos // step for isometric cells, but only half a MPos step for classic cells. Doh! var maxHeight = map.Grid.MaximumTerrainHeight; var heightOffset = map.Grid.Type == MapGridType.RectangularIsometric ? maxHeight : maxHeight / 2; diff --git a/OpenRA.Game/WDist.cs b/OpenRA.Game/WDist.cs index 13a07828b8..0b14f3d78e 100644 --- a/OpenRA.Game/WDist.cs +++ b/OpenRA.Game/WDist.cs @@ -148,7 +148,7 @@ namespace OpenRA switch (key.ToString()) { case "Length": return Length; - case "Range": Game.Debug("WRange.Range is deprecated. Use WDist.Length instead"); return Length; + case "Range": Game.Debug("WDist.Range is deprecated. Use WDist.Length instead"); return Length; default: throw new LuaException("WDist does not define a member '{0}'".F(key)); } }