HE80+ reports whole _classData value of object, if no args are given.

Fixes exit arrows in later HE games.

svn-id: r17271
This commit is contained in:
Travis Howell 2005-03-28 10:14:08 +00:00
parent 11e1e246cc
commit 2f2ca8ac21

View file

@ -1027,6 +1027,11 @@ void ScummEngine_v6::o6_ifClassOfIs() {
num = getStackList(args, ARRAYSIZE(args));
obj = pop();
if (_heversion >= 80 && num == 0) {
push(_classData[obj]);
return;
}
while (--num >= 0) {
cls = args[num];
b = getClass(obj, cls);