mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Not sure why it should get optimised away but this will fix the crashes.
This commit is contained in:
@@ -2443,7 +2443,8 @@ void NetworkBase::Client_Handle_GAMESTATE(NetworkConnection& connection, Network
|
||||
{
|
||||
log_info("Wrote desync report to '%s'", outputFile.c_str());
|
||||
|
||||
auto ft = Formatter().Add<char*>(uniqueFileName);
|
||||
auto ft = Formatter();
|
||||
ft.Add<char*>(uniqueFileName);
|
||||
|
||||
char str_desync[1024];
|
||||
format_string(str_desync, sizeof(str_desync), STR_DESYNC_REPORT, ft.Data());
|
||||
|
||||
Reference in New Issue
Block a user