summaryrefslogtreecommitdiffstats
path: root/src/render/SpecialFX.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-11-10 22:08:54 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-11-10 22:08:54 +0100
commit612a6dd06c9f6baa10c67c208cb4c98ca2e483f6 (patch)
tree54ac41114279176d357d421cee97ef8844d6dd53 /src/render/SpecialFX.cpp
parentCWorld done (diff)
parentMerge pull request #771 from theR4K/miamiDev (diff)
downloadre3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.tar
re3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.tar.gz
re3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.tar.bz2
re3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.tar.lz
re3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.tar.xz
re3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.tar.zst
re3-612a6dd06c9f6baa10c67c208cb4c98ca2e483f6.zip
Diffstat (limited to 'src/render/SpecialFX.cpp')
-rw-r--r--src/render/SpecialFX.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/SpecialFX.cpp b/src/render/SpecialFX.cpp
index 7864b0f0..655fdb40 100644
--- a/src/render/SpecialFX.cpp
+++ b/src/render/SpecialFX.cpp
@@ -179,7 +179,7 @@ CSpecialFX::Render2DFXs(void)
CFont::SetScale(SCREEN_SCALE_X(1.5f), SCREEN_SCALE_Y(1.5f));
CFont::SetJustifyOff();
CFont::SetBackgroundOff();
- CFont::SetCentreSize(SCREEN_SCALE_FROM_RIGHT(20.0f));
+ CFont::SetCentreSize(SCREEN_SCALE_X(620.0f)); // unused
CFont::SetCentreOff();
CFont::SetPropOn();
CFont::SetColor(CRGBA(0, 255, 0, 200));
@@ -204,7 +204,7 @@ CSpecialFX::Render2DFXs(void)
CFont::SetScale(SCREEN_SCALE_X(1.5f), SCREEN_SCALE_Y(1.5f));
CFont::SetJustifyOff();
CFont::SetBackgroundOff();
- CFont::SetCentreSize(SCREEN_SCALE_FROM_RIGHT(20.0f));
+ CFont::SetCentreSize(SCREEN_SCALE_X(620.0f)); // unused
CFont::SetCentreOff();
CFont::SetPropOn();
CFont::SetColor(CRGBA(100, 100, 100, 200));