diff options
Diffstat (limited to 'engines/wintermute/Ad/AdSentence.cpp')
-rw-r--r-- | engines/wintermute/Ad/AdSentence.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/Ad/AdSentence.cpp b/engines/wintermute/Ad/AdSentence.cpp index feaeec714d..d7bf67d7af 100644 --- a/engines/wintermute/Ad/AdSentence.cpp +++ b/engines/wintermute/Ad/AdSentence.cpp @@ -251,9 +251,9 @@ HRESULT CAdSentence::SetupTalkFile(const char *SoundFilename) { AnsiString talkDefFileName = PathUtil::Combine(path, name + ".talk");
- Common::SeekableReadStream *file = Game->_fileManager->OpenFile(talkDefFileName.c_str());
+ Common::SeekableReadStream *file = Game->_fileManager->openFile(talkDefFileName.c_str());
if (file) {
- Game->_fileManager->CloseFile(file);
+ Game->_fileManager->closeFile(file);
} else return S_OK; // no talk def file found
|