TWINE: exit scenery view in some situations

This commit is contained in:
Martin Gerhardy 2021-02-10 18:50:40 +01:00
parent 6b6048aabb
commit 15832bdb09
6 changed files with 13 additions and 1 deletions

View file

@ -977,6 +977,7 @@ void Menu::drawBehaviourMenu(int32 angle) {
}
void Menu::processBehaviourMenu() {
_engine->exitSceneryView();
if (_engine->_actor->heroBehaviour == HeroBehaviourType::kProtoPack) {
_engine->_sound->stopSamples();
_engine->_actor->setBehaviour(HeroBehaviourType::kNormal);