Merge pull request #8646 from pchote/radar-cleanup

Remove unused/duplicated minimap code.
This commit is contained in:
Pavel Penev
2015-07-05 14:48:05 +03:00
2 changed files with 1 additions and 104 deletions

View File

@@ -290,15 +290,12 @@ namespace OpenRA.Mods.Common.Widgets
if (newRenderShroud != null)
{
// Redraw the full shroud sprite
using (var bitmap = Minimap.ShroudBitmap(world))
OpenRA.Graphics.Util.FastCopyIntoSprite(shroudSprite, bitmap);
MarkShroudDirty(world.Map.CellsInsideBounds);
// Update the notification binding
newRenderShroud.CellsChanged += MarkShroudDirty;
}
dirtyShroudCells.Clear();
renderShroud = newRenderShroud;
}