From 4eb7b11ea66f3787d29c1c0aa949d50d0ab64066 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 9 Apr 2020 15:57:09 +1000 Subject: [PATCH] Blood: Workaround for map view showing 1px of non-border at the bottom. --- source/blood/src/map2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blood/src/map2d.cpp b/source/blood/src/map2d.cpp index 4516c2dfb..16dbc4847 100644 --- a/source/blood/src/map2d.cpp +++ b/source/blood/src/map2d.cpp @@ -194,7 +194,7 @@ void CViewMap::sub_25C74(void) tm = 1; } // only clear the actual window. - twod->AddColorOnlyQuad(windowxy1.x, windowxy1.y, windowxy2.x - windowxy1.x + 1, windowxy2.y - windowxy1.y - 1, 0xff000000); + twod->AddColorOnlyQuad(windowxy1.x, windowxy1.y, (windowxy2.x + 1) - windowxy1.x, (windowxy2.y + 1) - windowxy1.y, 0xff000000); renderDrawMapView(x,y,nZoom>>2,angle); sub_2541C(x,y,nZoom>>2,angle); const char *pTitle = levelGetTitle();