diff options
-rw-r--r-- | engines/sci/engine/state.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/sci/engine/state.cpp b/engines/sci/engine/state.cpp index 816aaec774..d957dbe1e7 100644 --- a/engines/sci/engine/state.cpp +++ b/engines/sci/engine/state.cpp @@ -451,7 +451,7 @@ SciVersion EngineState::detectDoSoundType() { SciVersion EngineState::detectSetCursorType() { if (_setCursorType == SCI_VERSION_AUTODETECT) { if (getSciVersion() <= SCI_VERSION_01) { - // SCI0/SCI01 games always have non-colored cursors + // SCI0/SCI01 games never use cursor views _setCursorType = SCI_VERSION_0_EARLY; } else { if (!autoDetectFeature(kDetectSetCursorType)) { @@ -464,6 +464,12 @@ SciVersion EngineState::detectSetCursorType() { } } + if (_gameName == "kq5" && Common::File::exists("audio001.002")) { + // WORKAROUND for KQ5CD: The code of the setCursor selector has not been yet + // rewritten for cursor views, but the game does use cursor views + _setCursorType = SCI_VERSION_1_1; + } + debugC(1, kDebugLevelGraphics, "Detected SetCursor type: %s", getSciVersionDesc(_setCursorType).c_str()); } |