aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/PartEmitter.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-06-26 02:07:12 +0200
committerEinar Johan Trøan Sømåen2012-06-26 02:07:12 +0200
commitcaa5ee1d89de77f535f285904eb7c576d0397572 (patch)
tree0516797089e676516cd7aa8a7ce770df275ea05a /engines/wintermute/Base/PartEmitter.cpp
parent95983fa2eabd2c5f507f095d89efb6bbda0d3701 (diff)
downloadscummvm-rg350-caa5ee1d89de77f535f285904eb7c576d0397572.tar.gz
scummvm-rg350-caa5ee1d89de77f535f285904eb7c576d0397572.tar.bz2
scummvm-rg350-caa5ee1d89de77f535f285904eb7c576d0397572.zip
WINTERMUTE: Rename FuncName->funcName in BFileManager
Diffstat (limited to 'engines/wintermute/Base/PartEmitter.cpp')
-rw-r--r--engines/wintermute/Base/PartEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/Base/PartEmitter.cpp b/engines/wintermute/Base/PartEmitter.cpp
index 1ff3bf1122..0c7606b4f0 100644
--- a/engines/wintermute/Base/PartEmitter.cpp
+++ b/engines/wintermute/Base/PartEmitter.cpp
@@ -125,11 +125,11 @@ HRESULT CPartEmitter::addSprite(const char *Filename) {
}
// check if file exists
- Common::SeekableReadStream *File = Game->_fileManager->OpenFile(Filename);
+ Common::SeekableReadStream *File = Game->_fileManager->openFile(Filename);
if (!File) {
Game->LOG(0, "Sprite '%s' not found", Filename);
return E_FAIL;
- } else Game->_fileManager->CloseFile(File);
+ } else Game->_fileManager->closeFile(File);
char *Str = new char[strlen(Filename) + 1];
strcpy(Str, Filename);