diff options
author | Paul Gilbert | 2018-07-10 17:49:40 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-07-10 17:49:40 -0700 |
commit | 56246e3687aab868fb968c8daf75a926276825ff (patch) | |
tree | 67f9ac105fcd5497b71037a63891af19b842d1dd /engines/xeen | |
parent | 874b3079b5cf913521ce1a2bcdf882b8f5ac572a (diff) | |
download | scummvm-rg350-56246e3687aab868fb968c8daf75a926276825ff.tar.gz scummvm-rg350-56246e3687aab868fb968c8daf75a926276825ff.tar.bz2 scummvm-rg350-56246e3687aab868fb968c8daf75a926276825ff.zip |
XEEN: Fix crash trying to dream in Clouds of Xeen standalone
Diffstat (limited to 'engines/xeen')
-rw-r--r-- | engines/xeen/worldofxeen/worldofxeen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |