aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/gob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index 1ed4d6a551..75dfb8727f 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -338,7 +338,7 @@ DetectedGameList Engine_GOB_detectGames(const FSList &fslist) {
continue;
// All the supported games have an intro.stk file.
- if (scumm_stricmp(file->displayName().c_str(), "intro.stk") == 0)
+ if (scumm_stricmp(file->name().c_str(), "intro.stk") == 0)
break;
}