diff options
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index 9e9b4dc103..d8ae1a3418 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -188,7 +188,9 @@ reg_t kGetTime(EngineState *s, int argc, reg_t *argv) { int mode = (argc > 0) ? argv[0].toUint16() : 0; - if (getSciVersion() <= SCI_VERSION_0_LATE && mode > 1) + // Modes 2 and 3 are supported since 0.629. + // This condition doesn't check that exactly, but close enough. + if (getSciVersion() == SCI_VERSION_0_EARLY && mode > 1) error("kGetTime called in SCI0 with mode %d (expected 0 or 1)", mode); switch (mode) { |