[Scummvm-git-logs] scummvm branch-2-3 -> 2f65e6d5b077673722ed3e106b5e0fdb3950f003
eriktorbjorn
eriktorbjorn at telia.com
Tue Sep 14 05:39:04 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:
2f65e6d5b0 NEVERHOOD: Don't crash when entering monster cave in the big demo
Commit: 2f65e6d5b077673722ed3e106b5e0fdb3950f003
https://github.com/scummvm/scummvm/commit/2f65e6d5b077673722ed3e106b5e0fdb3950f003
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-09-14T07:36:02+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