Mercurial > hg > early-roguelike
comparison rogue4/save.c @ 123:8dd4b06a9155
rogue4: fix restoring saved games on Windows/MinGW.
author | John "Elwin" Edwards |
---|---|
date | Fri, 09 May 2014 07:52:02 -0700 |
parents | ee250e3646fd |
children | 1fe660009fd3 |
comparison
equal
deleted
inserted
replaced
122:65f3da34578a | 123:8dd4b06a9155 |
---|---|
274 | 274 |
275 if ( | 275 if ( |
276 #ifdef WIZARD | 276 #ifdef WIZARD |
277 !wizard && | 277 !wizard && |
278 #endif | 278 #endif |
279 md_unlink(file) < 0) | 279 md_unlink_open_file(file, inf) < 0) |
280 { | 280 { |
281 endwin(); | 281 endwin(); |
282 printf("Cannot unlink file\n"); | 282 printf("Cannot unlink file\n"); |
283 return FALSE; | 283 return FALSE; |
284 } | 284 } |