summaryrefslogtreecommitdiffstats
path: root/src/render/SpecialFX.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-10-25 18:51:27 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-10-25 18:57:24 +0100
commit6729de49b16da9a1be3c95b146ba053bf214c91c (patch)
treea63fb29d11572779c1ba2be52178bc164a3e900f /src/render/SpecialFX.cpp
parentclean up timebar ifdefs (diff)
downloadre3-6729de49b16da9a1be3c95b146ba053bf214c91c.tar
re3-6729de49b16da9a1be3c95b146ba053bf214c91c.tar.gz
re3-6729de49b16da9a1be3c95b146ba053bf214c91c.tar.bz2
re3-6729de49b16da9a1be3c95b146ba053bf214c91c.tar.lz
re3-6729de49b16da9a1be3c95b146ba053bf214c91c.tar.xz
re3-6729de49b16da9a1be3c95b146ba053bf214c91c.tar.zst
re3-6729de49b16da9a1be3c95b146ba053bf214c91c.zip
Diffstat (limited to 'src/render/SpecialFX.cpp')
-rw-r--r--src/render/SpecialFX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/SpecialFX.cpp b/src/render/SpecialFX.cpp
index 34423d83..89043752 100644
--- a/src/render/SpecialFX.cpp
+++ b/src/render/SpecialFX.cpp
@@ -1058,7 +1058,7 @@ CMoneyMessage::Render()
CFont::SetScale(fScaleX, fScaleY); // maybe use SCREEN_SCALE_X and SCREEN_SCALE_Y here?
CFont::SetCentreOn();
- CFont::SetCentreSize(SCREEN_WIDTH);
+ CFont::SetCentreSize(SCREEN_SCALE_X(DEFAULT_SCREEN_WIDTH));
CFont::SetJustifyOff();
CFont::SetColor(CRGBA(m_Colour.r, m_Colour.g, m_Colour.b, (255.0f - 255.0f * fLifeTime) * m_fOpacity));
CFont::SetBackGroundOnlyTextOff();