summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-09 15:55:45 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-09 15:55:45 +0100
commit322d93ab0cbbcf8f568d113b4460f943b90b587d (patch)
tree93bf3935ad0b3ddb594b89bc7ffaaf4ea41f3a65 /src/render
parentcam sector fix (diff)
downloadre3-322d93ab0cbbcf8f568d113b4460f943b90b587d.tar
re3-322d93ab0cbbcf8f568d113b4460f943b90b587d.tar.gz
re3-322d93ab0cbbcf8f568d113b4460f943b90b587d.tar.bz2
re3-322d93ab0cbbcf8f568d113b4460f943b90b587d.tar.lz
re3-322d93ab0cbbcf8f568d113b4460f943b90b587d.tar.xz
re3-322d93ab0cbbcf8f568d113b4460f943b90b587d.tar.zst
re3-322d93ab0cbbcf8f568d113b4460f943b90b587d.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Font.cpp b/src/render/Font.cpp
index 3517031d..04b1e074 100644
--- a/src/render/Font.cpp
+++ b/src/render/Font.cpp
@@ -432,7 +432,7 @@ CFont::PrintChar(float x, float y, wchar c)
bDontPrint = c == '\0';
float w = GetCharacterWidth(c) / 32.0f;
- if (Details.bFontHalfTexture && c == 208)
+ if (RenderState.bFontHalfTexture && c == 208)
c = '\0';
float xoff = c % 16;
float yoff = c / 16;
@@ -444,7 +444,7 @@ CFont::PrintChar(float x, float y, wchar c)
}
#endif
- if(Details.style == FONT_BANK || Details.style == FONT_STANDARD){
+ if(RenderState.style == FONT_BANK || RenderState.style == FONT_STANDARD){
if (bDontPrint) return;
if (RenderState.slant == 0.0f) {
#ifdef FIX_BUGS