diff options
author | Max Horn | 2006-04-26 08:34:01 +0000 |
---|---|---|
committer | Max Horn | 2006-04-26 08:34:01 +0000 |
commit | 8fdcfedf19d3d7f7c0b8d56a2dfe9c6b090da411 (patch) | |
tree | 293509ea90b39fba9d8a4be606c623e39ba6be55 | |
parent | 8bb9ae92ad0721adca944d8a8197f3e5d3944bd6 (diff) | |
download | scummvm-rg350-8fdcfedf19d3d7f7c0b8d56a2dfe9c6b090da411.tar.gz scummvm-rg350-8fdcfedf19d3d7f7c0b8d56a2dfe9c6b090da411.tar.bz2 scummvm-rg350-8fdcfedf19d3d7f7c0b8d56a2dfe9c6b090da411.zip |
Do not call static class methods as if they were instance methods
svn-id: r22172
-rw-r--r-- | engines/sky/disk.cpp | 2 | ||||
-rw-r--r-- | engines/sword2/resman.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sky/disk.cpp b/engines/sky/disk.cpp index c98ef9dc6d..0a543ecb3b 100644 --- a/engines/sky/disk.cpp +++ b/engines/sky/disk.cpp @@ -329,7 +329,7 @@ void Disk::dumpFile(uint16 fileNr) { filePtr = loadFile(fileNr); sprintf(buf, "dumps/file-%d.dmp", fileNr); - if (!out.exists(buf)) { + if (!Common::File::exists(buf)) { if (out.open(buf, Common::File::kFileWriteMode)) out.write(filePtr, _lastLoadedFileSize); } diff --git a/engines/sword2/resman.cpp b/engines/sword2/resman.cpp index afee3f6c90..5430cf1e82 100644 --- a/engines/sword2/resman.cpp +++ b/engines/sword2/resman.cpp @@ -333,7 +333,7 @@ byte *ResourceManager::openResource(uint32 res, bool dump) { sprintf(buf, "dumps/%s-%d.dmp", tag, res); #endif - if (!out.exists(buf)) { + if (!Common::File::exists(buf)) { if (out.open(buf, Common::File::kFileWriteMode)) out.write(_resList[res].ptr, len); } |