aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v6he.cpp')
-rw-r--r--scumm/script_v6he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp
index 6cd1b830aa..cda559a915 100644
--- a/scumm/script_v6he.cpp
+++ b/scumm/script_v6he.cpp
@@ -1012,9 +1012,9 @@ void ScummEngine_v6he::o6_openFile() {
if (slot != -1) {
if (mode == 1)
- _hFileTable[slot].open((char*)filename + r, getGameDataPath(), File::kFileReadMode);
+ _hFileTable[slot].open((char*)filename + r, File::kFileReadMode);
else if (mode == 2)
- _hFileTable[slot].open((char*)filename + r, getGameDataPath(), File::kFileWriteMode);
+ _hFileTable[slot].open((char*)filename + r, File::kFileWriteMode);
else
error("o6_openFile(): wrong open file mode");