From 890e0c1198b2e75f4900256b8f67b0786dc8269b Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 25 Oct 2020 17:26:53 +0000 Subject: [PATCH] Fix assertion failure when colour stack used with TC_FORCED --- 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 4854be6e55..04461ecfc7 100644 --- a/src/gfx_layout.h +++ b/src/gfx_layout.h @@ -64,7 +64,7 @@ struct FontState { */ inline void PushColour() { - colour_stack.push(this->cur_colour); + colour_stack.push(this->cur_colour & ~TC_FORCED); } /**