[Scummvm-git-logs] scummvm master -> 76c1af242f716b977364f833ca241c6a3f226b96
fracturehill
noreply at scummvm.org
Mon Nov 27 16:58:09 UTC 2023
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:
76c1af242f NANCY: Fix crash when loading nancy3 safe
Commit: 76c1af242f716b977364f833ca241c6a3f226b96
https://github.com/scummvm/scummvm/commit/76c1af242f716b977364f833ca241c6a3f226b96
Author: Kaloyan Chehlarski (strahy at outlook.com)
Date: 2023-11-27T18:57:58+02:00
Commit Message:
NANCY: Fix crash when loading nancy3 safe
Fixed a typo that would cause a crash when loading the
SafeDialPuzzle in nancy3.
Changed paths:
engines/nancy/action/puzzle/safedialpuzzle.cpp
diff --git a/engines/nancy/action/puzzle/safedialpuzzle.cpp b/engines/nancy/action/puzzle/safedialpuzzle.cpp
index 1eb2d76a5a4..f3d08c86f01 100644
--- a/engines/nancy/action/puzzle/safedialpuzzle.cpp
+++ b/engines/nancy/action/puzzle/safedialpuzzle.cpp
@@ -94,7 +94,7 @@ void SafeDialPuzzle::readData(Common::SeekableReadStream &stream) {
_numInbetweens = (_imageName2.size() ? 1 : 0);
- uint16 num = 20;
+ uint16 num = 10;
if (g_nancy->getGameType() >= kGameTypeNancy4) {
num = stream.readUint16LE();
_enableWraparound = stream.readByte();
More information about the Scummvm-git-logs
mailing list