summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-07 22:47:17 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-07 22:47:17 +0100
commitdebf39fe6466eb3e2b222f067ed2ebd21b1de47a (patch)
treec83dc9480f43aee5bff5c72cb1ae7a19531fedf0 /src
parentAdd MPG123_QUIET to mp3 files (diff)
downloadre3-debf39fe6466eb3e2b222f067ed2ebd21b1de47a.tar
re3-debf39fe6466eb3e2b222f067ed2ebd21b1de47a.tar.gz
re3-debf39fe6466eb3e2b222f067ed2ebd21b1de47a.tar.bz2
re3-debf39fe6466eb3e2b222f067ed2ebd21b1de47a.tar.lz
re3-debf39fe6466eb3e2b222f067ed2ebd21b1de47a.tar.xz
re3-debf39fe6466eb3e2b222f067ed2ebd21b1de47a.tar.zst
re3-debf39fe6466eb3e2b222f067ed2ebd21b1de47a.zip
Diffstat (limited to 'src')
-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 b1cce8e2..4eed988d 100644
--- a/src/render/SpecialFX.cpp
+++ b/src/render/SpecialFX.cpp
@@ -186,7 +186,7 @@ CSpecialFX::Render2DFXs(void)
CFont::SetCentreOff();
CFont::SetPropOn();
CFont::SetColor(CRGBA(0, 255, 0, 200));
- FONT_LOCALE(FONT_STANDARD);
+ CFont::SetFontStyle(FONT_LOCALE(FONT_STANDARD));
sprintf(gString, "%d", CTimer::GetFrameCounter() & 0x3F); // mb % 63
AsciiToUnicode(gString, gUString);
CFont::PrintString(SCREEN_WIDTH * 8 / 10, SCREEN_HEIGHT * 8 / 10, gUString);
@@ -211,7 +211,7 @@ CSpecialFX::Render2DFXs(void)
CFont::SetCentreOff();
CFont::SetPropOn();
CFont::SetColor(CRGBA(100, 100, 100, 200));
- FONT_LOCALE(FONT_STANDARD);
+ CFont::SetFontStyle(FONT_LOCALE(FONT_STANDARD));
CFont::PrintString(SCREEN_WIDTH * 8 / 10, SCREEN_HEIGHT * 8 / 10, gUString);
for (int32 i = 0; i < SCREEN_HEIGHT; i += 4) {
RwRenderStateSet(rwRENDERSTATESRCBLEND, (void*)rwBLENDONE);