(svn r22827) -Codechange: pass the/a more proper sub directory when opening (some) files instead of the default one

This commit is contained in:
rubidium
2011-08-24 13:53:34 +00:00
parent af80e9106e
commit 62886dfeed
5 changed files with 8 additions and 8 deletions

View File

@@ -281,7 +281,7 @@ bool LoadOldSaveGame(const char *file)
InitLoading(&ls);
/* Open file */
ls.file = FioFOpenFile(file, "rb");
ls.file = FioFOpenFile(file, "rb", NO_DIRECTORY);
if (ls.file == NULL) {
DEBUG(oldloader, 0, "Cannot open file '%s'", file);
@@ -320,7 +320,7 @@ bool LoadOldSaveGame(const char *file)
void GetOldSaveGameName(const char *file, char *title, const char *last)
{
FILE *f = FioFOpenFile(file, "rb");
FILE *f = FioFOpenFile(file, "rb", NO_DIRECTORY);
if (f == NULL) {
*title = '\0';