summaryrefslogtreecommitdiffstats
path: root/src/render/Credits.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-11-08 19:11:55 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-11-08 19:11:55 +0100
commitf8367ebdef6d15d1b1892a3418ea8a1ed4df46b2 (patch)
tree43febee0246f7885d664ffc645c6398af6b64f2b /src/render/Credits.cpp
parentMerge pull request #809 from erorcun/master (diff)
downloadre3-f8367ebdef6d15d1b1892a3418ea8a1ed4df46b2.tar
re3-f8367ebdef6d15d1b1892a3418ea8a1ed4df46b2.tar.gz
re3-f8367ebdef6d15d1b1892a3418ea8a1ed4df46b2.tar.bz2
re3-f8367ebdef6d15d1b1892a3418ea8a1ed4df46b2.tar.lz
re3-f8367ebdef6d15d1b1892a3418ea8a1ed4df46b2.tar.xz
re3-f8367ebdef6d15d1b1892a3418ea8a1ed4df46b2.tar.zst
re3-f8367ebdef6d15d1b1892a3418ea8a1ed4df46b2.zip
Diffstat (limited to 'src/render/Credits.cpp')
-rw-r--r--src/render/Credits.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Credits.cpp b/src/render/Credits.cpp
index 2c8a9952..6b28ff04 100644
--- a/src/render/Credits.cpp
+++ b/src/render/Credits.cpp
@@ -62,7 +62,7 @@ CCredits::Render(void)
scrolloffset = (CTimer::GetTimeInMilliseconds() - CreditsStartTime) / 24.0f;
CFont::SetJustifyOff();
CFont::SetBackgroundOff();
- CFont::SetCentreSize(SCREEN_SCALE_X(DEFAULT_SCREEN_WIDTH - 20));
+ CFont::SetCentreSize(SCALE_AND_CENTER_X(DEFAULT_SCREEN_WIDTH - 20));
CFont::SetCentreOn();
CFont::SetPropOn();
CFont::SetColor(CRGBA(220, 220, 220, 220));
@@ -496,4 +496,4 @@ CCredits::Render(void)
bool CCredits::AreCreditsDone(void)
{
return !bCreditsGoing;
-}
+} \ No newline at end of file