1
0
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:
Marijn van der Werf
2016-11-13 18:20:30 +01:00
committed by Ted John
parent c50ba73c3e
commit 022b481d66
46 changed files with 224 additions and 224 deletions

View File

@@ -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