From 1465011a431fef0f33086c23833169b4009aff0a Mon Sep 17 00:00:00 2001 From: chrisf Date: Tue, 10 Jul 2007 03:24:40 +0000 Subject: [PATCH] git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1150 993157c7-ee19-0410-b2c4-bb4e9862e678 --- OpenRa.Game/MainWindow.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRa.Game/MainWindow.cs b/OpenRa.Game/MainWindow.cs index 8464a55a04..9678208e7f 100644 --- a/OpenRa.Game/MainWindow.cs +++ b/OpenRa.Game/MainWindow.cs @@ -218,6 +218,7 @@ namespace OpenRa.Game effect.SetValue(scroll, scrollPos); KeyValuePair batch = Nth(drawBatches, n); + if (batch.Key != null) //foreach (KeyValuePair batch in drawBatches) { effect.SetTexture(texture, batch.Key.texture);