diff options
author | Filippos Karapetis | 2009-05-14 17:06:47 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-05-14 17:06:47 +0000 |
commit | 3ab81fa502408d453ce3788f163c0553316583e1 (patch) | |
tree | b34be74771a3e0d8eefc579456df7af612677c37 | |
parent | abe09307eaf76047b006cb75e4e870d05c19b22a (diff) | |
download | scummvm-rg350-3ab81fa502408d453ce3788f163c0553316583e1.tar.gz scummvm-rg350-3ab81fa502408d453ce3788f163c0553316583e1.tar.bz2 scummvm-rg350-3ab81fa502408d453ce3788f163c0553316583e1.zip |
Fixed regression with SCI1.1 games
svn-id: r40563
-rw-r--r-- | engines/sci/engine/ksound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp index 2213a8e869..a59432d4cf 100644 --- a/engines/sci/engine/ksound.cpp +++ b/engines/sci/engine/ksound.cpp @@ -983,7 +983,7 @@ reg_t kDoSound_SCI1(EngineState *s, int funct_nr, int argc, reg_t *argv) { } reg_t kDoSound(EngineState *s, int funct_nr, int argc, reg_t *argv) { - if (s->flags & GF_SCI1_NEWDOSOUND) + if (s->version >= SCI_VERSION(1,001,000) || s->flags & GF_SCI1_NEWDOSOUND) return kDoSound_SCI1(s, funct_nr, argc, argv); else if (s->version >= SCI_VERSION(1,000,000)) return kDoSound_SCI01(s, funct_nr, argc, argv); |