Skip to content

Commit

Permalink
DIRECTOR: Fix stupid mistake in v3 fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops authored and sev- committed Aug 3, 2016
1 parent 4a33498 commit 649ef2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/director/detection.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 649ef2a

Please sign in to comment.