mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
ASYLUM: restart chapter 11 properly
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user