From 673d25a9cd65b816b7bec23da85e8acff22dc28e Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Tue, 28 Nov 2017 16:47:14 -0600 Subject: SCI32: Fix crash starting KQ7 demo Fixes Trac#10343. --- engines/sci/engine/features.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/sci') diff --git a/engines/sci/engine/features.cpp b/engines/sci/engine/features.cpp index 1297ba2abc..7172a6fbe3 100644 --- a/engines/sci/engine/features.cpp +++ b/engines/sci/engine/features.cpp @@ -704,6 +704,10 @@ bool GameFeatures::generalMidiOnly() { case GID_MOTHERGOOSEHIRES: return true; case GID_KQ7: { + if (g_sci->isDemo()) { + return false; + } + SoundResource sound(13, g_sci->getResMan(), detectDoSoundType()); return (sound.getTrackByType(/* AdLib */ 0) == nullptr); } -- cgit v1.2.3