Merge pull request #10346 from RoosterDragon/misc-fixes

Dispose fixes + misc touchups
This commit is contained in:
Paul Chote
2016-01-01 13:53:05 +00:00
15 changed files with 72 additions and 20 deletions

View File

@@ -31,14 +31,14 @@ namespace OpenRA.Test
{
Assert.That(cell, Is.EqualTo(cell.ToMPos(gridType).ToCPos(gridType)));
}
catch (Exception e)
catch
{
// Known problem on isometric mods that shouldn't be visible to players as these are outside the map.
if (gridType == MapGridType.RectangularIsometric && y > x)
continue;
Console.WriteLine("Coordinate {0} on grid type {1} failed to convert back.".F(cell, gridType));
throw e;
throw;
}
}
}