ASYLUM: restart chapter 11 properly

This commit is contained in:
alxpnv
2021-05-17 15:37:48 +02:00
committed by Eugene Sandulenko
parent c5547820fe
commit 8eb94fc95e
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -520,7 +520,7 @@ void Actor::update() {
case 1:
getSpecial()->run(NULL, _index);
break;
return;
case 10:
case 11:
@@ -3163,8 +3163,7 @@ void Actor::updateStatus16_Chapter11() {
_frameIndex = 0;
getScene()->getActor(0)->updateStatus(kActorStatusRestarting);
_tickCount = _vm->getTick() + 2000;
getScene()->getActor(1)->setTickCount(_vm->getTick() + 2000);
} else {
getScene()->getActor(0)->updateStatus(kActorStatusEnabled2);
}
+1 -1
View File
@@ -991,7 +991,7 @@ void Special::chapter11(Object *object, ActorIndex actorIndex) {
actor1->updateStatus(kActorStatusEnabled);
actor0->updateStatus(kActorStatusEnabled);
getWorld()->field_E848C = 0;
getScript()->queueScript(getWorld()->getActionAreaIndexById(1574), kActorSarah);
getScript()->queueScript(getWorld()->actions[getWorld()->getActionAreaIndexById(1574)]->scriptIndex, kActorSarah);
}
}
}