mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-02-07 13:41:02 +00:00
- Fixed: FListMenuItemPlayerDisplay::Drawer() used the sprite's scale but not the texture's scale.
SVN r3880 (trunk)
This commit is contained in:
parent
864fb5798e
commit
12e1901150
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue