mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 15:54:31 +01:00
define STR_NONE as a rct_string_id
This commit is contained in:
@@ -148,7 +148,7 @@ static void window_map_tooltip_update(rct_window *w)
|
||||
*/
|
||||
static void window_map_tooltip_paint(rct_window *w, rct_drawpixelinfo *dpi)
|
||||
{
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_MAP_TOOLTIP_ARGS, rct_string_id) == (rct_string_id)STR_NONE)
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_MAP_TOOLTIP_ARGS, rct_string_id) == STR_NONE)
|
||||
return;
|
||||
|
||||
gfx_draw_string_centred_wrapped(dpi, (void*)RCT2_ADDRESS_MAP_TOOLTIP_ARGS, w->x + (w->width / 2), w->y + (w->height / 2), w->width, 1162, 0);
|
||||
|
||||
Reference in New Issue
Block a user