aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorEugene Sandulenko2019-08-21 21:02:33 +0200
committerEugene Sandulenko2019-09-03 17:17:35 +0200
commitc3032f7742f48551eb1d00f771c56f2b03f0931d (patch)
treea8e7370eea21356f3e7aa85a871ef6a1f80270c5 /engines/hdb
parent43f39b30de51ffc7d357322eac0f7b9b93a08498 (diff)
downloadscummvm-rg350-c3032f7742f48551eb1d00f771c56f2b03f0931d.tar.gz
scummvm-rg350-c3032f7742f48551eb1d00f771c56f2b03f0931d.tar.bz2
scummvm-rg350-c3032f7742f48551eb1d00f771c56f2b03f0931d.zip
HDB: Remove excess calls to stopVoices()
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/hdb.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index b1fbb6f5e7..1a8c81160d 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -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();