summaryrefslogtreecommitdiffstats
path: root/src/render/Font.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-10-12 10:13:46 +0200
committerGitHub <noreply@github.com>2020-10-12 10:13:46 +0200
commit9e0b23f06517e6ead7ae63dcf899e58387474cb3 (patch)
treee77c7603491b84f7ecc9411f412343484c873036 /src/render/Font.cpp
parentMerge pull request #759 from Sergeanur/VC/ZoneSaveLoad (diff)
parentHud, Fire, OnscreenBlaBla (diff)
downloadre3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.tar
re3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.tar.gz
re3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.tar.bz2
re3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.tar.lz
re3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.tar.xz
re3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.tar.zst
re3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.zip
Diffstat (limited to 'src/render/Font.cpp')
-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 8deac7bf..f14e45cd 100644
--- a/src/render/Font.cpp
+++ b/src/render/Font.cpp
@@ -1142,6 +1142,7 @@ CFont::ParseToken(wchar *s)
switch(*s){
case 'B':
Details.bBold = !Details.bBold;
+ break;
case 'N':
case 'n':
NewLine = 1;
@@ -1149,7 +1150,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;