diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-12-07 19:12:13 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-12-07 19:12:13 +0100 |
commit | c5fbb594a51f37e5a3af6c6b98342a71c8fe4611 (patch) | |
tree | 50a9a7cf3f5ff72d905eac13dfa68b6151caed3f /src/control/Pickups.cpp | |
parent | Update librw (diff) | |
download | re3-c5fbb594a51f37e5a3af6c6b98342a71c8fe4611.tar re3-c5fbb594a51f37e5a3af6c6b98342a71c8fe4611.tar.gz re3-c5fbb594a51f37e5a3af6c6b98342a71c8fe4611.tar.bz2 re3-c5fbb594a51f37e5a3af6c6b98342a71c8fe4611.tar.lz re3-c5fbb594a51f37e5a3af6c6b98342a71c8fe4611.tar.xz re3-c5fbb594a51f37e5a3af6c6b98342a71c8fe4611.tar.zst re3-c5fbb594a51f37e5a3af6c6b98342a71c8fe4611.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Pickups.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp index 6fea43fb..950612ca 100644 --- a/src/control/Pickups.cpp +++ b/src/control/Pickups.cpp @@ -964,7 +964,11 @@ CPickups::RenderPickUpText() float fScaleX = aMessages[i].m_dist.x / 100.0f; if (fScaleX > MAX_SCALE) fScaleX = MAX_SCALE; +#ifdef FIX_BUGS + CFont::SetScale(SCREEN_SCALE_X(fScaleX), SCREEN_SCALE_Y(fScaleY)); +#else CFont::SetScale(fScaleX, fScaleY); +#endif CFont::SetCentreOn(); CFont::SetCentreSize(SCREEN_WIDTH); CFont::SetJustifyOff(); |