#2028 fixed - observer and dead map in cnc works again

This commit is contained in:
Chris Forbes
2012-04-24 20:29:46 +12:00
parent 6e3aa46008
commit 6669a66292

View File

@@ -128,7 +128,6 @@ namespace OpenRA.Mods.RA.Widgets
public override void Draw()
{
if (world == null) return;
if (world.LocalPlayer != null && world.LocalPlayer.WinState != WinState.Undefined) return;
var o = new float2(mapRect.Location.X, mapRect.Location.Y + world.Map.Bounds.Height * previewScale * (1 - radarMinimapHeight)/2);
var s = new float2(mapRect.Size.Width, mapRect.Size.Height*radarMinimapHeight);