aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kevent.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-02-03 11:02:43 +0000
committerFilippos Karapetis2010-02-03 11:02:43 +0000
commit2fb37063a4ef85aa862b8fdf035d03f6b801679e (patch)
treeb79cdb9e904ffa954d3ff86fef5eee5b616e10d5 /engines/sci/engine/kevent.cpp
parentbaf6b53431bbb1b5a630fd153fe3df350e3d16fd (diff)
downloadscummvm-rg350-2fb37063a4ef85aa862b8fdf035d03f6b801679e.tar.gz
scummvm-rg350-2fb37063a4ef85aa862b8fdf035d03f6b801679e.tar.bz2
scummvm-rg350-2fb37063a4ef85aa862b8fdf035d03f6b801679e.zip
Placed all the game feature detection code in a separate class
svn-id: r47850
Diffstat (limited to 'engines/sci/engine/kevent.cpp')
-rw-r--r--engines/sci/engine/kevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp
index d1a4e8eae6..40ea736a8c 100644
--- a/engines/sci/engine/kevent.cpp
+++ b/engines/sci/engine/kevent.cpp
@@ -151,7 +151,7 @@ reg_t kGetEvent(EngineState *s, int argc, reg_t *argv) {
}
#ifndef USE_OLD_MUSIC_FUNCTIONS
- if (s->detectDoSoundType() <= SCI_VERSION_0_LATE) {
+ if (s->_features->detectDoSoundType() <= SCI_VERSION_0_LATE) {
// If we're running a SCI0 game, update the sound cues, to compensate
// for the fact that SCI0 does not poll to update the sound cues itself,
// like SCI01 and later do with cmdUpdateSoundCues. kGetEvent is called