mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 12:03:07 +01:00
Merge pull request #1313 from aputlock/develop
Autosave no longer changes scenario name to "autosave"
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user