From b2e9e8fb18130ae38f67e6be1aaa98ba588f29f4 Mon Sep 17 00:00:00 2001 From: toaster Date: Thu, 5 Dec 2019 19:43:37 +0000 Subject: [PATCH] Fix V_WordWrap and the new additional text colour codes. --- src/v_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v_video.c b/src/v_video.c index 0619ca87d..3e924a451 100644 --- a/src/v_video.c +++ b/src/v_video.c @@ -2084,7 +2084,7 @@ char *V_WordWrap(INT32 x, INT32 w, INT32 option, const char *string) for (i = 0; i < slen; ++i) { c = newstring[i]; - if ((UINT8)c >= 0x80 && (UINT8)c <= 0x89) //color parsing! -Inuyasha 2.16.09 + if ((UINT8)c & 0x80) //color parsing! -Inuyasha 2.16.09 continue; if (c == '\n')