aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v90he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/he/script_v90he.cpp')
-rw-r--r--engines/scumm/he/script_v90he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/script_v90he.cpp b/engines/scumm/he/script_v90he.cpp
index 7032a1fc97..aecbbb2f42 100644
--- a/engines/scumm/he/script_v90he.cpp
+++ b/engines/scumm/he/script_v90he.cpp
@@ -466,7 +466,7 @@ void ScummEngine_v90he::o90_getActorData() {
push(a->isUserConditionSet(val));
break;
case 2:
- checkRange(15, 0, val, "Limb %d out of range");
+ assertRange(0, val, 15, "o90_getActorData: Limb");
push(a->_cost.frame[val]);
break;
case 3: