aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v6he.cpp')
-rw-r--r--scumm/script_v6he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp
index db689e678e..1076e7d35e 100644
--- a/scumm/script_v6he.cpp
+++ b/scumm/script_v6he.cpp
@@ -1245,7 +1245,7 @@ void ScummEngine_v6he::o6_stringLen() {
return;
}
- if (_gameId == GID_FREDDEMO) {
+ if (_heversion >= 60) {
len = strlen((char *)getStringAddress(a));
} else { // FREDDI, PUTTMOON
len = stringLen(addr);
@@ -1302,7 +1302,7 @@ void ScummEngine_v6he::o6_localizeArray() {
}
void ScummEngine_v6he::o6_unknownF4() {
- if (_gameId == GID_FREDDEMO) {
+ if (_heversion >= 60) {
byte b;
int len;
b = fetchScriptByte();