Restore --disable-he functionality. :(
svn-id: r18121
This commit is contained in:
parent
71aff53326
commit
f9ebe12310
2 changed files with 7 additions and 1 deletions
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue