[Scummvm-git-logs] scummvm master -> 56246e3687aab868fb968c8daf75a926276825ff

dreammaster dreammaster at scummvm.org
Wed Jul 11 02:49:51 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
56246e3687 XEEN: Fix crash trying to dream in Clouds of Xeen standalone


Commit: 56246e3687aab868fb968c8daf75a926276825ff
    https://github.com/scummvm/scummvm/commit/56246e3687aab868fb968c8daf75a926276825ff
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-07-10T17:49:40-07:00

Commit Message:
XEEN: Fix crash trying to dream in Clouds of Xeen standalone

Changed paths:
    engines/xeen/worldofxeen/worldofxeen.cpp


diff --git a/engines/xeen/worldofxeen/worldofxeen.cpp b/engines/xeen/worldofxeen/worldofxeen.cpp
index ecaae83..772051d 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;
 





More information about the Scummvm-git-logs mailing list