From 56246e3687aab868fb968c8daf75a926276825ff Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 10 Jul 2018 17:49:40 -0700 Subject: XEEN: Fix crash trying to dream in Clouds of Xeen standalone --- engines/xeen/worldofxeen/worldofxeen.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engines/xeen/worldofxeen/worldofxeen.cpp b/engines/xeen/worldofxeen/worldofxeen.cpp index ecaae8303b..772051da91 100644 --- a/engines/xeen/worldofxeen/worldofxeen.cpp +++ b/engines/xeen/worldofxeen/worldofxeen.cpp @@ -119,6 +119,10 @@ void WorldOfXeenEngine::death() { } void WorldOfXeenEngine::dream() { + if (g_vm->getGameID() == GType_Clouds) + // Dreams only available for Dark Side & World + return; + Windows &windows = *_windows; Graphics::ManagedSurface savedBg; -- cgit v1.2.3