diff options
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r-- | scumm/script_v72he.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index a72b639c55..9cb40b2d18 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1931,12 +1931,14 @@ void ScummEngine_v72he::o72_unknownF5() { while (pos < len) { chr = readArray(0, 0, pos); result += getCharsetOffsets(chr); - if (result >= max) - break; + if (result >= max) { + push(pos); + return; + } pos++; } - push(result); + push(len); debug(1,"stub o72_unknownF5 (%d)", result); } |