summaryrefslogtreecommitdiff
path: root/src/control/Pickups.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-07 21:55:41 +0200
committerSergeanur <s.anureev@yandex.ua>2021-01-07 21:55:41 +0200
commit0428b5b694b47a5135b8e09ee779a923b44c93bc (patch)
tree951ccae84ff5562e60c9a77012d946dbb3e8acaf /src/control/Pickups.cpp
parentc2672bd630e2c7d748d759aa9b6e81ba7ecfc0fe (diff)
Fix pickup text
Diffstat (limited to 'src/control/Pickups.cpp')
-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();