summaryrefslogtreecommitdiffstats
path: root/src/render/Font.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-10-10 13:23:17 +0200
committereray orçunus <erayorcunus@gmail.com>2020-10-12 05:42:54 +0200
commit8a622a0e724cd00acc7e61b159462355319b39cb (patch)
treedadddb5687c56a275313360d36a2bdbcc1b9659f /src/render/Font.cpp
parentFix sniper and water creatures bug, mark some files (diff)
downloadre3-8a622a0e724cd00acc7e61b159462355319b39cb.tar
re3-8a622a0e724cd00acc7e61b159462355319b39cb.tar.gz
re3-8a622a0e724cd00acc7e61b159462355319b39cb.tar.bz2
re3-8a622a0e724cd00acc7e61b159462355319b39cb.tar.lz
re3-8a622a0e724cd00acc7e61b159462355319b39cb.tar.xz
re3-8a622a0e724cd00acc7e61b159462355319b39cb.tar.zst
re3-8a622a0e724cd00acc7e61b159462355319b39cb.zip
Diffstat (limited to '')
-rw-r--r--src/render/Font.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/Font.cpp b/src/render/Font.cpp
index c0cc333a..26d9f08b 100644
--- a/src/render/Font.cpp
+++ b/src/render/Font.cpp
@@ -1102,6 +1102,7 @@ CFont::ParseToken(wchar *s)
switch(*s){
case 'B':
Details.bBold = !Details.bBold;
+ break;
case 'N':
case 'n':
NewLine = 1;
@@ -1109,7 +1110,7 @@ CFont::ParseToken(wchar *s)
case 'b': SetColor(CRGBA(27, 89, 130, 255)); Details.anonymous_23 = true; break;
case 'f':
Details.bFlash = !Details.bFlash;
- if (Details.bFlash)
+ if (!Details.bFlash)
Details.color.a = 255;
break;
case 'g': SetColor(CRGBA(255, 150, 225, 255)); Details.anonymous_23 = true; break;