diff options
-rw-r--r-- | scumm/actor.cpp | 6 | ||||
-rw-r--r-- | scumm/akos.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index a48d6429a1..4047fe5b8c 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -630,8 +630,10 @@ void Actor::putActor(int dstX, int dstY, byte newRoom) { } adjustActorPos(); } else { +#ifndef DISABLE_HE if (_vm->_heversion >= 71) ((ScummEngine_v71he *)_vm)->queueAuxBlock(this); +#endif hideActor(); } } else { @@ -1430,8 +1432,10 @@ void Actor::setActorCostume(int c) { if (_vm->_features & GF_NEW_COSTUMES) { memset(_animVariable, 0, sizeof(_animVariable)); +#ifndef DISABLE_HE if (_vm->_heversion >= 71) ((ScummEngine_v71he *)_vm)->queueAuxBlock(this); +#endif _costume = c; _cost.reset(); @@ -2040,7 +2044,6 @@ void ScummEngine_v71he::postProcessAuxQueue() { } _auxEntriesNum = 0; } -#endif void ScummEngine_v71he::queueAuxBlock(Actor *a) { if (!a->_auxBlock.visible) @@ -2058,6 +2061,7 @@ void ScummEngine_v71he::queueAuxEntry(int actorNum, int subIndex) { ae->subIndex = subIndex; ++_auxEntriesNum; } +#endif const SaveLoadEntry *Actor::getSaveLoadEntries() { diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 022dc36a90..65fd9a8483 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -1692,8 +1692,10 @@ void ScummEngine::akos_processQueue() { a->_offsY = param_2; break; case 7: +#ifndef DISABLE_HE assert(_heversion >= 71); ((ScummEngine_v71he *)this)->queueAuxEntry(a->_number, param_1); +#endif break; case 8: _actorToPrintStrFor = a->_number; |