mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 11:50:00 +00:00
Fix font
This commit is contained in:
parent
e473d234fd
commit
322d93ab0c
|
@ -432,7 +432,7 @@ CFont::PrintChar(float x, float y, wchar c)
|
||||||
|
|
||||||
bDontPrint = c == '\0';
|
bDontPrint = c == '\0';
|
||||||
float w = GetCharacterWidth(c) / 32.0f;
|
float w = GetCharacterWidth(c) / 32.0f;
|
||||||
if (Details.bFontHalfTexture && c == 208)
|
if (RenderState.bFontHalfTexture && c == 208)
|
||||||
c = '\0';
|
c = '\0';
|
||||||
float xoff = c % 16;
|
float xoff = c % 16;
|
||||||
float yoff = c / 16;
|
float yoff = c / 16;
|
||||||
|
@ -444,7 +444,7 @@ CFont::PrintChar(float x, float y, wchar c)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(Details.style == FONT_BANK || Details.style == FONT_STANDARD){
|
if(RenderState.style == FONT_BANK || RenderState.style == FONT_STANDARD){
|
||||||
if (bDontPrint) return;
|
if (bDontPrint) return;
|
||||||
if (RenderState.slant == 0.0f) {
|
if (RenderState.slant == 0.0f) {
|
||||||
#ifdef FIX_BUGS
|
#ifdef FIX_BUGS
|
||||||
|
|
Loading…
Reference in a new issue