From dff86c7e389338395237d255b7f5ad0feac42f97 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 14 Feb 2020 00:41:36 +0100 Subject: [PATCH] - removed some coordinate fudging for drawing SW's automap background The current code does not need this --- source/sw/src/draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/sw/src/draw.cpp b/source/sw/src/draw.cpp index 6523ede27..4991de3e5 100644 --- a/source/sw/src/draw.cpp +++ b/source/sw/src/draw.cpp @@ -2223,7 +2223,7 @@ drawscreen(PLAYERp pp) if (dimensionmode == 6) { // 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 - windowxy1.x, windowxy2.y - windowxy1.y, 0xff000000); renderDrawMapView(tx, ty, zoom, tang); }