From c0354fb16a74cfcb180777b3008533f3e4782e11 Mon Sep 17 00:00:00 2001 From: zsilencer Date: Sun, 19 Jul 2015 12:38:29 -0600 Subject: [PATCH] fix #1645 --- src/game.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/game.c b/src/game.c index 489952cfdc..af5efbd4a1 100644 --- a/src/game.c +++ b/src/game.c @@ -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);