mirror of https://github.com/OpenRCT2/OpenRCT2.git
Autosave no longer changes scenario name to "autosave"
This commit is contained in:
parent
543a99a930
commit
a785ff3cad
|
@ -839,8 +839,10 @@ int scenario_save(char *path, int flags)
|
|||
rct_viewport *viewport;
|
||||
int viewX, viewY, viewZoom, viewRotation;
|
||||
|
||||
strcpy(gScenarioSaveName, path_get_filename(path));
|
||||
path_remove_extension(gScenarioSaveName);
|
||||
if (strcmp(path_get_filename(path), "autosave.sv6")) {
|
||||
strcpy(gScenarioSaveName, path_get_filename(path));
|
||||
path_remove_extension(gScenarioSaveName);
|
||||
}
|
||||
|
||||
if (flags & 2)
|
||||
log_verbose("saving scenario, %s", path);
|
||||
|
|
Loading…
Reference in New Issue