mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 04:23:20 +01:00
Use constant for black strings
This commit is contained in:
committed by
Ted John
parent
c50ba73c3e
commit
022b481d66
@@ -64,7 +64,7 @@ void StexObject::DrawPreview(rct_drawpixelinfo * dpi, sint32 width, sint32 heigh
|
||||
// Write (no image)
|
||||
sint32 x = width / 2;
|
||||
sint32 y = height / 2;
|
||||
gfx_draw_string_centred(dpi, STR_WINDOW_NO_IMAGE, x, y, 0, nullptr);
|
||||
gfx_draw_string_centred(dpi, STR_WINDOW_NO_IMAGE, x, y, COLOUR_BLACK, nullptr);
|
||||
}
|
||||
|
||||
const utf8 * StexObject::GetName() const
|
||||
|
||||
Reference in New Issue
Block a user