# HG changeset patch # User John "Elwin" Edwards # Date 1399647122 25200 # Node ID 8dd4b06a9155dd18a585580e0e9da0f7d51ae1cb # Parent 65f3da34578a4bdecfe459ecee0a1b8282c37340 rogue4: fix restoring saved games on Windows/MinGW. diff -r 65f3da34578a -r 8dd4b06a9155 README.txt --- a/README.txt Wed May 07 14:08:38 2014 -0700 +++ b/README.txt Fri May 09 07:52:02 2014 -0700 @@ -34,8 +34,8 @@ It is recommended to run 'configure' with the '--disable-logfile' option, and 'make' with the 'LDFLAGS=-static' option. -The games should all build with MinGW, but there are still bugs with arrow keys -and saving/restoring. +The games should all build with MinGW and run, but Super-Rogue has problems +with restoring saved games. See the individual games' subdirectories for further documentation. Some of the manpages may be outdated, but the guides to playing should be accurate. diff -r 65f3da34578a -r 8dd4b06a9155 rogue4/save.c --- a/rogue4/save.c Wed May 07 14:08:38 2014 -0700 +++ b/rogue4/save.c Fri May 09 07:52:02 2014 -0700 @@ -276,7 +276,7 @@ #ifdef WIZARD !wizard && #endif - md_unlink(file) < 0) + md_unlink_open_file(file, inf) < 0) { endwin(); printf("Cannot unlink file\n");