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:
@@ -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, {});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user