From b4edc30c64b98d35fd35eb53eccd52bfc039c1f7 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 24 Aug 2011 13:53:34 +0000 Subject: (svn r22827) -Codechange: pass the/a more proper sub directory when opening (some) files instead of the default one --- src/saveload/oldloader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/saveload') diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp index 9484fb726..2ea24f33b 100644 --- a/src/saveload/oldloader.cpp +++ b/src/saveload/oldloader.cpp @@ -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'; -- cgit v1.2.3-70-g09d2