mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-10 08:00:05 +00:00
parent
c448eb04d8
commit
4f9893cc98
@ -3318,7 +3318,7 @@ SaveOrLoadResult SaveOrLoad(const std::string &filename, SaveLoadOperation fop,
|
|||||||
ClearSaveLoadState();
|
ClearSaveLoadState();
|
||||||
|
|
||||||
/* Skip the "colour" character */
|
/* Skip the "colour" character */
|
||||||
if (fop != SLO_CHECK) Debug(sl, 0, "{}", GetSaveLoadErrorString());
|
if (fop != SLO_CHECK) Debug(sl, 0, "{}", GetSaveLoadErrorString() + 3);
|
||||||
|
|
||||||
/* A saver/loader exception!! reinitialize all variables to prevent crash! */
|
/* A saver/loader exception!! reinitialize all variables to prevent crash! */
|
||||||
return (fop == SLO_LOAD) ? SL_REINIT : SL_ERROR;
|
return (fop == SLO_LOAD) ? SL_REINIT : SL_ERROR;
|
||||||
|
Loading…
Reference in New Issue
Block a user