diff options
author | Matthew Hoops | 2012-11-15 11:01:30 -0500 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 649ef2af6799bdae858d3056e7f24de6419623f4 (patch) | |
tree | 46ce32084b4ce4a1a647dec479d7149bddee6e4c | |
parent | 4a334980e1121d310948fbd497298d24d07011ac (diff) | |
download | scummvm-rg350-649ef2af6799bdae858d3056e7f24de6419623f4.tar.gz scummvm-rg350-649ef2af6799bdae858d3056e7f24de6419623f4.tar.bz2 scummvm-rg350-649ef2af6799bdae858d3056e7f24de6419623f4.zip |
DIRECTOR: Fix stupid mistake in v3 fallback
-rw-r--r-- | engines/director/detection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/detection.cpp b/engines/director/detection.cpp index 63d6b4e685..f0670b3bb7 100644 --- a/engines/director/detection.cpp +++ b/engines/director/detection.cpp @@ -210,7 +210,7 @@ const ADGameDescription *DirectorMetaEngine::fallbackDetect(const FileMap &allFi stream->skip(directoryNameSize); - if ((uint32)stream->pos() != offset) { + if (stream->pos() != stream->size() - 4) { delete stream; continue; } |