From ddf1afb82bf996bcfc687d0153782f1cd8249690 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 1 Nov 2009 01:35:11 +0000 Subject: [PATCH] - Shift player sprites down half a pixel. Interestingly, this makes vertical scaling much closer between software and hardware. SVN r1956 (trunk) --- src/r_things.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_things.cpp b/src/r_things.cpp index ea4accfa3..155c84353 100644 --- a/src/r_things.cpp +++ b/src/r_things.cpp @@ -1848,7 +1848,7 @@ void R_DrawRemainingPlayerSprites() } screen->DrawTexture(vis->pic, viewwindowx + VisPSpritesX1[i], - viewwindowy + viewheight/2 - (vis->texturemid / 65536.0) * (vis->yscale / 65536.0) - 1, + viewwindowy + viewheight/2 - (vis->texturemid / 65536.0) * (vis->yscale / 65536.0) - 0.5, DTA_DestWidthF, FIXED2FLOAT(vis->pic->GetWidth() * vis->xscale), DTA_DestHeightF, FIXED2FLOAT(vis->pic->GetHeight() * vis->yscale), DTA_Translation, TranslationToTable(vis->Translation),