- Fixed: FListMenuItemPlayerDisplay::Drawer() used the sprite's scale but not the texture's scale.

SVN r3880 (trunk)
This commit is contained in:
Randy Heit 2012-10-05 03:48:51 +00:00
parent 864fb5798e
commit 12e1901150

View file

@ -591,8 +591,8 @@ void FListMenuItemPlayerDisplay::Drawer(bool selected)
if (mTranslate) trans = translationtables[TRANSLATION_Players](MAXPLAYERS); if (mTranslate) trans = translationtables[TRANSLATION_Players](MAXPLAYERS);
screen->DrawTexture (tex, screen->DrawTexture (tex,
x + 36*CleanXfac, y + 71*CleanYfac, x + 36*CleanXfac, y + 71*CleanYfac,
DTA_DestWidth, MulScale16 (tex->GetWidth() * CleanXfac, scaleX), DTA_DestWidth, MulScale16 (tex->GetScaledWidth() * CleanXfac, scaleX),
DTA_DestHeight, MulScale16 (tex->GetHeight() * CleanYfac, scaleY), DTA_DestHeight, MulScale16 (tex->GetScaledHeight() * CleanYfac, scaleY),
DTA_Translation, trans, DTA_Translation, trans,
DTA_FlipX, sprframe->Flip & (1 << mRotation), DTA_FlipX, sprframe->Flip & (1 << mRotation),
TAG_DONE); TAG_DONE);