diff options
-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; } |