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

Function GetSaveLoadErrorMessage

src/saveload/saveload.cpp:2973–2976  ·  view source on GitHub ↗

Return the description of the error. **/

Source from the content-addressed store, hash-verified

2971
2972/** Return the description of the error. **/
2973EncodedString GetSaveLoadErrorMessage()
2974{
2975 return GetEncodedString(_sl.error_str, _sl.extra_msg);
2976}
2977
2978/** Show a gui message when saving has failed */
2979static void SaveFileError()

Callers 4

SwitchToModeFunction · 0.85
SaveFileErrorFunction · 0.85
SaveFileToDiskFunction · 0.85
SaveOrLoadFunction · 0.85

Calls 1

GetEncodedStringFunction · 0.50

Tested by

no test coverage detected