aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/sfx/softseq/adlib.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/sci/sfx/softseq/adlib.cpp b/engines/sci/sfx/softseq/adlib.cpp
index e2af0a0767..11802917a2 100644
--- a/engines/sci/sfx/softseq/adlib.cpp
+++ b/engines/sci/sfx/softseq/adlib.cpp
@@ -813,10 +813,7 @@ int MidiPlayer_Adlib::open(ResourceManager *resMan) {
}
int MidiPlayer_Adlib::getPlayMask(SciVersion soundVersion) {
- if (soundVersion == SCI_VERSION_0_EARLY)
- return 0x01;
-
- return 0x04;
+ return (soundVersion == SCI_VERSION_0_EARLY) ? 0x01 : 0x04;
}
MidiPlayer *MidiPlayer_Adlib_create() {