HDB: Remove excess calls to stopVoices()

This commit is contained in:
Eugene Sandulenko 2019-08-21 21:02:33 +02:00
parent 43f39b30de
commit c3032f7742

View File

@ -200,7 +200,6 @@ void HDBGame::changeGameState() {
break;
case GAME_PLAY:
_menu->startMenu();
_sound->stopVoices();
_gameState = GAME_MENU;
break;
case GAME_LOADING:
@ -1011,11 +1010,6 @@ Common::Error HDBGame::run() {
_map->drawForegrounds();
_ai->animateTargets();
// Check for voice to interrupt
if (!_window->dialogActive() && !_window->dialogChoiceActive() && !_window->msgBarActive()) {
_sound->stopVoices();
}
_window->drawDialog();
_window->drawDialogChoice();
_window->drawInventory();