From 88b3390e7d112166cc1ad92c1c5f8f0468bd4c2b Mon Sep 17 00:00:00 2001 From: Misa Date: Wed, 3 Mar 2021 12:15:43 -0800 Subject: [PATCH] Fix regression with background of level minimaps not being black I had misread this line in #629 and thought that it was just clearing the entire surface, when really it was filling the surface with opaque black. ClearSurface() would instead make it transparent, which would mean when it got drawn, it would get drawn against blue, and not black. Whoops. --- desktop_version/src/editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/editor.cpp b/desktop_version/src/editor.cpp index d7447c0a..772f9e30 100644 --- a/desktop_version/src/editor.cpp +++ b/desktop_version/src/editor.cpp @@ -2152,7 +2152,7 @@ void editorclass::generatecustomminimap(void) map.custommmysize=180-(map.custommmyoff*2); } - ClearSurface(graphics.images[12]); + FillRect(graphics.images[12], graphics.getRGB(0, 0, 0)); int tm=0; int temp=0;