[Scummvm-git-logs] scummvm master -> 4a54e4bfaa241435bc5cfb84cb77bb49aa79d063

eriktorbjorn eriktorbjorn at telia.com
Tue Sep 14 05:32:28 UTC 2021


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:
4a54e4bfaa NEVERHOOD: Don't crash when entering monster cave in the big demo


Commit: 4a54e4bfaa241435bc5cfb84cb77bb49aa79d063
    https://github.com/scummvm/scummvm/commit/4a54e4bfaa241435bc5cfb84cb77bb49aa79d063
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-09-14T07:30:06+02:00

Commit Message:
NEVERHOOD: Don't crash when entering monster cave in the big demo

The demo doesn't include the cave, so show the thank you screen instead.
Otherwise, it will crash when loading a non-existing resource.

Changed paths:
    engines/neverhood/gamemodule.cpp


diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp
index e0ce12f47d..9e54536cf2 100644
--- a/engines/neverhood/gamemodule.cpp
+++ b/engines/neverhood/gamemodule.cpp
@@ -715,7 +715,7 @@ void GameModule::updateModule() {
 			createModule(2600, 1);
 			break;
 		case 2600:
-			if (_vm->isDemo() && !_vm->isBigDemo())
+			if (_vm->isDemo())
 				createModule(9999, -1);
 			else if (_moduleResult == 1)
 				createModule(2500, 0);




More information about the Scummvm-git-logs mailing list