fix player color blocks not showing up in MapPreviewWidget

This commit is contained in:
Chris Forbes
2010-07-30 18:54:46 +12:00
parent ef92e004c0
commit 3cd9a1e0e4

View File

@@ -70,6 +70,7 @@ namespace OpenRA.Widgets
float PreviewScale = 0;
static Sprite UnownedSpawn = null;
static Sprite OwnedSpawn = null;
public override void DrawInner( World world )
{
if (UnownedSpawn == null)
@@ -105,6 +106,8 @@ namespace OpenRA.Widgets
"chrome",
new float2( MapRect.Size ) );
Game.Renderer.RgbaSpriteRenderer.Flush();
// Overlay spawnpoints
var colors = SpawnColors();
foreach (var p in map.SpawnPoints)