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:
parent
11e1e246cc
commit
2f2ca8ac21
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue