aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v90he.cpp
diff options
context:
space:
mode:
authorMax Horn2006-09-16 13:38:43 +0000
committerMax Horn2006-09-16 13:38:43 +0000
commitb860f002b2f1f1a6cc67a9deb8360a8d421e2a4e (patch)
tree144c8c7d881894583afdd66b3a584f38520fd699 /engines/scumm/he/script_v90he.cpp
parent61626263236a4e3b9397bd3dfd9c467a4a9a0d31 (diff)
downloadscummvm-rg350-b860f002b2f1f1a6cc67a9deb8360a8d421e2a4e.tar.gz
scummvm-rg350-b860f002b2f1f1a6cc67a9deb8360a8d421e2a4e.tar.bz2
scummvm-rg350-b860f002b2f1f1a6cc67a9deb8360a8d421e2a4e.zip
Replaced checkRange by assertRange, which has (a) an (IMO) more logical order of parameters, and (b) removes lots of useless duplicate information in error messages
svn-id: r23885
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: