1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +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

@@ -599,7 +599,7 @@ void NetworkBase::UpdateClient()
Close();
context_force_close_window_by_class(WC_NETWORK_STATUS);
context_show_error(STR_UNABLE_TO_CONNECT_TO_SERVER, STR_NONE);
context_show_error(STR_UNABLE_TO_CONNECT_TO_SERVER, STR_NONE, {});
break;
}
}
@@ -3116,7 +3116,7 @@ void NetworkBase::Client_Handle_SHOWERROR([[maybe_unused]] NetworkConnection& co
{
rct_string_id title, message;
packet >> title >> message;
context_show_error(title, message);
context_show_error(title, message, {});
}
void NetworkBase::Client_Handle_GROUPLIST([[maybe_unused]] NetworkConnection& connection, NetworkPacket& packet)