[Scummvm-git-logs] scummvm branch-2-3 -> 81247443e7061c3a5a1653a2bcbe66f69af2000e
eriktorbjorn
eriktorbjorn at telia.com
Tue Sep 14 09:36:13 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:
81247443e7 NEVERHOOD: Only lock out monster cave from demo, not the other exit
Commit: 81247443e7061c3a5a1653a2bcbe66f69af2000e
https://github.com/scummvm/scummvm/commit/81247443e7061c3a5a1653a2bcbe66f69af2000e
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-09-14T11:35:56+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