summaryrefslogtreecommitdiffstats
path: root/src/control/Pickups.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-01 12:53:20 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-01 12:53:20 +0100
commit9fd93e8e5792781b1bce0eb5d75aa6eff00d9f69 (patch)
tree49f4d64c4ee48b03e9ac032fca6b97259d181935 /src/control/Pickups.cpp
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
parentactual struct name (diff)
downloadre3-9fd93e8e5792781b1bce0eb5d75aa6eff00d9f69.tar
re3-9fd93e8e5792781b1bce0eb5d75aa6eff00d9f69.tar.gz
re3-9fd93e8e5792781b1bce0eb5d75aa6eff00d9f69.tar.bz2
re3-9fd93e8e5792781b1bce0eb5d75aa6eff00d9f69.tar.lz
re3-9fd93e8e5792781b1bce0eb5d75aa6eff00d9f69.tar.xz
re3-9fd93e8e5792781b1bce0eb5d75aa6eff00d9f69.tar.zst
re3-9fd93e8e5792781b1bce0eb5d75aa6eff00d9f69.zip
Diffstat (limited to 'src/control/Pickups.cpp')
-rw-r--r--src/control/Pickups.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp
index 23b5d9ff..bd0fa989 100644
--- a/src/control/Pickups.cpp
+++ b/src/control/Pickups.cpp
@@ -1345,7 +1345,11 @@ 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::SetCentreOn();
CFont::SetCentreSize(SCREEN_WIDTH);
CFont::SetJustifyOff();