From b860f002b2f1f1a6cc67a9deb8360a8d421e2a4e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 16 Sep 2006 13:38:43 +0000 Subject: 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 --- engines/scumm/he/script_v90he.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/scumm/he/script_v90he.cpp') 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: -- cgit v1.2.3