summaryrefslogtreecommitdiff
path: root/src/saveload/oldloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/oldloader.cpp')
-rw-r--r--src/saveload/oldloader.cpp4
1 files changed, 2 insertions, 2 deletions
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';