v_draw.cpp Chain::fill: Ensure flags are passed to V_DrawFill

Fixes non-green resolution for tutorial dialogue
This commit is contained in:
toaster 2023-12-23 17:30:08 +00:00
parent 8dc35c0fe3
commit 676a1e3602

View file

@ -56,7 +56,7 @@ void Chain::fill(UINT8 color) const
{
const auto _ = Clipper(*this);
V_DrawFill(x_, y_, width_, height_, color);
V_DrawFill(x_, y_, width_, height_, color|(flags_ & ~0xFF));
}
void Chain::string(const char* str, INT32 flags, Font font) const