Reversed param order of File::open() -- this allowed me to get rid of a few more getGameDataPath() calls

svn-id: r14090
This commit is contained in:
Max Horn 2004-06-27 22:14:35 +00:00
parent a461c7550e
commit b8ad54b3af
15 changed files with 59 additions and 61 deletions

View file

@ -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");