MADS: Clean up sound driver creation switch block

This commit is contained in:
Paul Gilbert 2014-05-16 13:52:43 -04:00
parent a197d91df6
commit 73dbec2011

View File

@ -47,7 +47,6 @@ void SoundManager::init(int sectionNumber) {
switch (_vm->getGameID()) {
case GType_RexNebular:
// TODO: Other Rex Adlib section drivers
switch (sectionNumber) {
case 1:
_driver = new Nebular::ASound1(_mixer);
@ -73,6 +72,8 @@ void SoundManager::init(int sectionNumber) {
case 8:
_driver = new Nebular::ASound8(_mixer);
break;
case 9:
error("Sound driver 9 not implemented");
default:
_driver = nullptr;
break;