1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

Merge pull request #1649 from zsilencer/bugfixes

fix #1645
This commit is contained in:
Ted John
2015-07-19 19:52:07 +01:00

View File

@@ -833,9 +833,6 @@ void game_autosave()
platform_get_user_directory(path, "save");
strcat(path, "autosave.sv6");
strcpy(gScenarioSaveName, path_get_filename(path));
path_remove_extension(gScenarioSaveName);
SDL_RWops* rw = platform_sdl_rwfromfile(path, "wb+");
if (rw != NULL) {
scenario_save(rw, 0x80000000);