1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-28 15:38:30 +02:00

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.
This commit is contained in:
Misa 2021-03-03 12:15:43 -08:00 committed by Ethan Lee
parent 9789848b36
commit 88b3390e7d

View File

@ -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;