aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scumm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index bb220853af..704266e45f 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -2885,7 +2885,7 @@ static bool generateDetectName(const ScummGameSettings *g, int method, char *det
strcat(detectName, ".la0");
break;
case 4:
- if (g->heversion > 0)
+ if (g->heversion == 0)
return false;
strcpy(detectName, g->gameid);
strcat(detectName, ".he0");