From 12e19011507cccf8e5be9f7e4620ac493851773e Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 5 Oct 2012 03:48:51 +0000 Subject: [PATCH] - Fixed: FListMenuItemPlayerDisplay::Drawer() used the sprite's scale but not the texture's scale. SVN r3880 (trunk) --- src/menu/playerdisplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/menu/playerdisplay.cpp b/src/menu/playerdisplay.cpp index 256ca6a49..c0f353675 100644 --- a/src/menu/playerdisplay.cpp +++ b/src/menu/playerdisplay.cpp @@ -591,8 +591,8 @@ void FListMenuItemPlayerDisplay::Drawer(bool selected) if (mTranslate) trans = translationtables[TRANSLATION_Players](MAXPLAYERS); screen->DrawTexture (tex, x + 36*CleanXfac, y + 71*CleanYfac, - DTA_DestWidth, MulScale16 (tex->GetWidth() * CleanXfac, scaleX), - DTA_DestHeight, MulScale16 (tex->GetHeight() * CleanYfac, scaleY), + DTA_DestWidth, MulScale16 (tex->GetScaledWidth() * CleanXfac, scaleX), + DTA_DestHeight, MulScale16 (tex->GetScaledHeight() * CleanYfac, scaleY), DTA_Translation, trans, DTA_FlipX, sprframe->Flip & (1 << mRotation), TAG_DONE);