From e1defedb2af8266c92e831e4cad9a420c529057c Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 23 Oct 2022 22:01:24 +0100 Subject: [PATCH] Remove colour filter assert from FontState::PopColour --- src/gfx_layout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gfx_layout.h b/src/gfx_layout.h index 38e58e673c..c75960f664 100644 --- a/src/gfx_layout.h +++ b/src/gfx_layout.h @@ -57,7 +57,7 @@ struct FontState { inline void PopColour() { if (colour_stack.empty()) return; - SetColour(colour_stack.top()); + if ((this->cur_colour & TC_FORCED) == 0) this->cur_colour = colour_stack.top(); colour_stack.pop(); }