[Scummvm-git-logs] scummvm master -> 58f29203713fb7374e326f8a70959a915266ad91

eriktorbjorn eriktorbjorn at telia.com
Tue Sep 14 09:30:36 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:
58f2920371 NEVERHOOD: Only lock out monster cave from demo, not the other exit


Commit: 58f29203713fb7374e326f8a70959a915266ad91
    https://github.com/scummvm/scummvm/commit/58f29203713fb7374e326f8a70959a915266ad91
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-09-14T11:29:37+02:00

Commit Message:
NEVERHOOD: Only lock out monster cave from demo, not the other exit

You should still be able to return back to the TNT room. It's just the
monster cave that's cut off from the demo.

Changed paths:
    engines/neverhood/gamemodule.cpp


diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp
index 9e54536cf2..185d9b6831 100644
--- a/engines/neverhood/gamemodule.cpp
+++ b/engines/neverhood/gamemodule.cpp
@@ -715,11 +715,12 @@ void GameModule::updateModule() {
 			createModule(2600, 1);
 			break;
 		case 2600:
-			if (_vm->isDemo())
-				createModule(9999, -1);
-			else if (_moduleResult == 1)
-				createModule(2500, 0);
-			else
+			if (_moduleResult == 1) {
+				if (_vm->isDemo())
+					createModule(9999, -1);
+				else
+					createModule(2500, 0);
+			} else
 				createModule(1200, 1);
 			break;
 		case 2700:




More information about the Scummvm-git-logs mailing list