From 3b65b0caec415ef5cedd3590c5bcfc9a0d2a7e2b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 25 May 2020 21:32:49 +0200 Subject: [PATCH] - fixed: The size parameters for automap sprites are floats, so they need the matching tag. --- src/am_map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/am_map.cpp b/src/am_map.cpp index f121f92bb..aa7ed83b6 100644 --- a/src/am_map.cpp +++ b/src/am_map.cpp @@ -3037,8 +3037,8 @@ void DAutomap::DrawMarker (FGameTexture *tex, double x, double y, int yadjust, rotatePoint (&x, &y); } DrawTexture(twod, tex, CXMTOF(x) + f_x, CYMTOF(y) + yadjust + f_y, - DTA_DestWidth, tex->GetDisplayWidth() * CleanXfac * xscale, - DTA_DestHeight, tex->GetDisplayHeight() * CleanYfac * yscale, + DTA_DestWidthF, tex->GetDisplayWidth() * CleanXfac * xscale, + DTA_DestHeightF, tex->GetDisplayHeight() * CleanYfac * yscale, DTA_ClipTop, f_y, DTA_ClipBottom, f_y + f_h, DTA_ClipLeft, f_x,