summaryrefslogtreecommitdiffstats
path: root/src/control/Pickups.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-07 20:55:41 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-07 20:55:41 +0100
commit0428b5b694b47a5135b8e09ee779a923b44c93bc (patch)
tree951ccae84ff5562e60c9a77012d946dbb3e8acaf /src/control/Pickups.cpp
parentFix char in stats (diff)
downloadre3-0428b5b694b47a5135b8e09ee779a923b44c93bc.tar
re3-0428b5b694b47a5135b8e09ee779a923b44c93bc.tar.gz
re3-0428b5b694b47a5135b8e09ee779a923b44c93bc.tar.bz2
re3-0428b5b694b47a5135b8e09ee779a923b44c93bc.tar.lz
re3-0428b5b694b47a5135b8e09ee779a923b44c93bc.tar.xz
re3-0428b5b694b47a5135b8e09ee779a923b44c93bc.tar.zst
re3-0428b5b694b47a5135b8e09ee779a923b44c93bc.zip
Diffstat (limited to '')
-rw-r--r--src/control/Pickups.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp
index bd0fa989..3470e475 100644
--- a/src/control/Pickups.cpp
+++ b/src/control/Pickups.cpp
@@ -1336,7 +1336,7 @@ CPickups::RenderPickUpText()
#ifdef FIX_BUGS
const float MAX_SCALE = SCREEN_WIDTH / DEFAULT_SCREEN_WIDTH;
#else
- const float MAX_SCALE = RsGlobal.width / DEFAULT_SCREEN_WIDTH;
+ float MAX_SCALE = RsGlobal.width / DEFAULT_SCREEN_WIDTH;
#endif
float fScaleY = aMessages[i].m_dist.y / 30.0f;
@@ -1345,11 +1345,7 @@ CPickups::RenderPickUpText()
float fScaleX = aMessages[i].m_dist.x / 30.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::SetScale(fScaleX, fScaleY); // this shouldn't be scaled
CFont::SetCentreOn();
CFont::SetCentreSize(SCREEN_WIDTH);
CFont::SetJustifyOff();