diff options
author | Paul Gilbert | 2010-06-29 11:15:21 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-06-29 11:15:21 +0000 |
commit | c1176498f146f01832bc4d98b477f4479302cd4f (patch) | |
tree | 0f541d406b46da951189c3333a53567f98c87fca | |
parent | 841356ac80a869b199b65e169ee3aa361d657d37 (diff) | |
download | scummvm-rg350-c1176498f146f01832bc4d98b477f4479302cd4f.tar.gz scummvm-rg350-c1176498f146f01832bc4d98b477f4479302cd4f.tar.bz2 scummvm-rg350-c1176498f146f01832bc4d98b477f4479302cd4f.zip |
Removed the old hardcoded calls to loadDSRFile
svn-id: r50491
-rw-r--r-- | engines/m4/m4.cpp | 9 | ||||
-rw-r--r-- | engines/m4/mads_menus.cpp | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/engines/m4/m4.cpp b/engines/m4/m4.cpp index f1506598d2..fc1caec883 100644 --- a/engines/m4/m4.cpp +++ b/engines/m4/m4.cpp @@ -568,15 +568,6 @@ Common::Error MadsEngine::run() { _viewManager->systemHotkeys().add(Common::KEYCODE_ESCAPE, &escapeHotkeyHandler); _viewManager->systemHotkeys().add(Common::KEYCODE_KP_MULTIPLY, &textviewHotkeyHandler); - // Load the general game SFX/voices - if (getGameType() == GType_RexNebular) { - _sound->loadDSRFile("rex009.dsr"); - } else if (getGameType() == GType_Phantom) { - _sound->loadDSRFile("phan009.dsr"); - } else if (getGameType() == GType_DragonSphere) { - _sound->loadDSRFile("drag009.dsr"); - } - uint32 nextFrame = g_system->getMillis(); while (!_events->quitFlag) { eventHandler(); diff --git a/engines/m4/mads_menus.cpp b/engines/m4/mads_menus.cpp index 0addfc57cb..d7d9cf4150 100644 --- a/engines/m4/mads_menus.cpp +++ b/engines/m4/mads_menus.cpp @@ -309,7 +309,6 @@ void RexMainMenuView::handleAction(MadsGameAction action) { return; case SHOW_INTRO: - vm->_sound->loadDSRFile("act002.dsr"); vm->_viewManager->showAnimView("@rexopen"); break; |