From 467ec728b52a86e9df4f2f3bece38e400193d136 Mon Sep 17 00:00:00 2001 From: AdAstra-LD Date: Tue, 20 Apr 2021 19:29:47 +0200 Subject: [PATCH] Fixed another problem with flood fill [didn't see that one lol] --- DS_Map/Main Window.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DS_Map/Main Window.cs b/DS_Map/Main Window.cs index 5f23444..dafd8a6 100644 --- a/DS_Map/Main Window.cs +++ b/DS_Map/Main Window.cs @@ -3424,7 +3424,7 @@ namespace DSPRE { using (Graphics gMain = Graphics.FromImage(mainBm)) { for (int i = 0; i < 32; i++) { for (int j = 0; j < 32; j++) { - PrepareTypePainterGraphics(paintByte = currentMapFile.types[i, j]); + PrepareTypePainterGraphics(currentMapFile.types[i, j]); /* Draw cell with color */ mainCell = new Rectangle(19 * j, 19 * i, 19, 19);