1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Explicitly pass formatter arguments to ShowError and family

This commit is contained in:
Matt
2020-08-27 00:01:15 +02:00
parent 2639349925
commit ccde06ab0f
32 changed files with 152 additions and 146 deletions

View File

@@ -718,7 +718,7 @@ static void window_editor_object_selection_scroll_mousedown(
{
rct_string_id error_title = (ebx & 1) ? STR_UNABLE_TO_SELECT_THIS_OBJECT : STR_UNABLE_TO_DE_SELECT_THIS_OBJECT;
context_show_error(error_title, gGameCommandErrorText);
context_show_error(error_title, gGameCommandErrorText, {});
return;
}
@@ -731,7 +731,8 @@ static void window_editor_object_selection_scroll_mousedown(
if (_maxObjectsWasHit)
{
context_show_error(STR_WARNING_TOO_MANY_OBJECTS_SELECTED, STR_NOT_ALL_OBJECTS_IN_THIS_SCENERY_GROUP_COULD_BE_SELECTED);
context_show_error(
STR_WARNING_TOO_MANY_OBJECTS_SELECTED, STR_NOT_ALL_OBJECTS_IN_THIS_SCENERY_GROUP_COULD_BE_SELECTED, {});
}
}