diff options
author | Arnaud Boutonné | 2009-10-18 16:59:33 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2009-10-18 16:59:33 +0000 |
commit | e392f939b6c8025c33c37b489d161286db250100 (patch) | |
tree | 4d729fc543c506a90910b869e378a493fcb2a8bb | |
parent | 4b06d7be8bc8f83386c14b81ec17c4980c99f3fb (diff) | |
download | scummvm-rg350-e392f939b6c8025c33c37b489d161286db250100.tar.gz scummvm-rg350-e392f939b6c8025c33c37b489d161286db250100.tar.bz2 scummvm-rg350-e392f939b6c8025c33c37b489d161286db250100.zip |
gob - "Windows" Gob3 has errors in scripts, calling .IMD videos instead of .VMD ones. This modification fixes that.
svn-id: r45226
-rw-r--r-- | engines/gob/videoplayer.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp index 4aea102124..b707612c7b 100644 --- a/engines/gob/videoplayer.cpp +++ b/engines/gob/videoplayer.cpp @@ -171,7 +171,11 @@ bool VideoPlayer::findFile(char *fileName, Type &which) { if (extStart == (fileName + strlen(fileName) - 1)) { *extStart = 0; extStart = 0; - } + } else + if (!_vm->_dataIO->existData(fileName)) { + *extStart = 0; + extStart = 0; + } if (extStart) { // The requested file already has an extension. Verifying. |