aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index 87c319b9b0..b71466bf21 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -184,7 +184,7 @@ int ScummEngine::getVerbEntrypoint(int obj, int entry) {
ptr += 2;
} while (1);
return verboffs + 8 + READ_LE_UINT32(ptr + 1);
- } if (_version <= 2) {
+ } else if (_version <= 2) {
do {
if (!*verbptr)
return 0;