Kill Map.XOffset / Map.YOffset.
This commit is contained in:
@@ -505,8 +505,8 @@ namespace OpenRA.Editor
|
||||
}
|
||||
|
||||
e.Graphics.DrawRectangle(CordonPen,
|
||||
Map.XOffset * TileSet.TileSize * Zoom + Offset.X,
|
||||
Map.YOffset * TileSet.TileSize * Zoom + Offset.Y,
|
||||
Map.TopLeft.X * TileSet.TileSize * Zoom + Offset.X,
|
||||
Map.TopLeft.Y * TileSet.TileSize * Zoom + Offset.Y,
|
||||
Map.Width * TileSet.TileSize * Zoom,
|
||||
Map.Height * TileSet.TileSize * Zoom);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user