aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorArnaud Boutonné2009-10-18 16:59:33 +0000
committerArnaud Boutonné2009-10-18 16:59:33 +0000
commite392f939b6c8025c33c37b489d161286db250100 (patch)
tree4d729fc543c506a90910b869e378a493fcb2a8bb /engines/gob
parent4b06d7be8bc8f83386c14b81ec17c4980c99f3fb (diff)
downloadscummvm-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
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/videoplayer.cpp6
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.