diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-10-10 13:23:17 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-10-12 05:42:54 +0200 |
commit | 8a622a0e724cd00acc7e61b159462355319b39cb (patch) | |
tree | dadddb5687c56a275313360d36a2bdbcc1b9659f /src/render/Font.cpp | |
parent | Fix sniper and water creatures bug, mark some files (diff) | |
download | re3-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 'src/render/Font.cpp')
-rw-r--r-- | src/render/Font.cpp | 3 |
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; |