MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / SaveFileError

Function SaveFileError

src/saveload/saveload.cpp:2979–2983  ·  view source on GitHub ↗

Show a gui message when saving has failed */

Source from the content-addressed store, hash-verified

2977
2978/** Show a gui message when saving has failed */
2979static void SaveFileError()
2980{
2981 ShowErrorMessage(GetSaveLoadErrorType(), GetSaveLoadErrorMessage(), WL_ERROR);
2982 SaveFileDone();
2983}
2984
2985/**
2986 * We have written the whole game into memory, _memory_savegame, now find

Callers

nothing calls this directly

Calls 4

ShowErrorMessageFunction · 0.85
GetSaveLoadErrorTypeFunction · 0.85
GetSaveLoadErrorMessageFunction · 0.85
SaveFileDoneFunction · 0.85

Tested by

no test coverage detected