rogue4: fix restoring saved games on Windows/MinGW.

This commit is contained in:
John "Elwin" Edwards 2014-05-09 07:52:02 -07:00
parent be61b1a69e
commit 832d685d60
2 changed files with 3 additions and 3 deletions

View file

@ -34,8 +34,8 @@ fixed soon.
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.

View file

@ -276,7 +276,7 @@ char **envp;
#ifdef WIZARD
!wizard &&
#endif
md_unlink(file) < 0)
md_unlink_open_file(file, inf) < 0)
{
endwin();
printf("Cannot unlink file\n");