You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running openttd -D -d 1,
The program will not dump the game state into dmp_cmds_%08x_%08x.sav
Because openttd will generate a 64 * 64 map when it start, and then generate a new map according to openttd.cfg. It will dump the 64*64 map correctly, but it won't dump the new map.
in saveload.cpp
SaveOrLoadResult SaveOrLoad(const char *filename, int mode, Subdirectory sb, bool threaded)
{
uint32 hdr[2];
/* An instance of saving is already active, so don't go saving again /
if (_ts.saveinprogress && mode == SL_SAVE) {
/ if not an autosave, but a user action, show error message */
if (!_do_autosave) ShowErrorMessage(STR_ERROR_SAVE_STILL_IN_PROGRESS, INVALID_STRING_ID, 0, 0);
return SL_OK;
}
........
}
The dump of new map will not dump because ts.saveinprogress == true.
siqi opened the ticket and wrote:
Reported version: 1.0.5
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/4427
The text was updated successfully, but these errors were encountered: