aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-05-31 08:56:49 +0000
committerTravis Howell2004-05-31 08:56:49 +0000
commit0552b10590d8af7466a0f4f2b41b3aed8d26c8d9 (patch)
tree594555127b1db978bc0484f31203318d095371ac
parent6dc0191e037a9103260fe7190d6eea4f8477ce84 (diff)
downloadscummvm-rg350-0552b10590d8af7466a0f4f2b41b3aed8d26c8d9.tar.gz
scummvm-rg350-0552b10590d8af7466a0f4f2b41b3aed8d26c8d9.tar.bz2
scummvm-rg350-0552b10590d8af7466a0f4f2b41b3aed8d26c8d9.zip
Switch to _heversion
svn-id: r13911
-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();