aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/softseq
diff options
context:
space:
mode:
authorFilippos Karapetis2010-01-03 22:54:51 +0000
committerFilippos Karapetis2010-01-03 22:54:51 +0000
commit54dbd75ed9c149c7e629939b122c4096e1839c73 (patch)
tree1038ee9b658e30e8b3b0eb203b52e55d5d9ad1af /engines/sci/sfx/softseq
parentc0aad0508c16318a8e178c3eaaa0d028f2724d19 (diff)
downloadscummvm-rg350-54dbd75ed9c149c7e629939b122c4096e1839c73.tar.gz
scummvm-rg350-54dbd75ed9c149c7e629939b122c4096e1839c73.tar.bz2
scummvm-rg350-54dbd75ed9c149c7e629939b122c4096e1839c73.zip
Code beautification (fixes a false positive, too)
svn-id: r46960
Diffstat (limited to 'engines/sci/sfx/softseq')
-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() {