[Scummvm-git-logs] scummvm master -> 81a5e5aa428f9ef1e397c2f3ed52b4c1bd4678b0
digitall
noreply at scummvm.org
Wed May 28 00:38:46 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
81a5e5aa42 ALG: Fix Uninitialized Value For Scene Difficulty
Commit: 81a5e5aa428f9ef1e397c2f3ed52b4c1bd4678b0
https://github.com/scummvm/scummvm/commit/81a5e5aa428f9ef1e397c2f3ed52b4c1bd4678b0
Author: D G Turner (digitall at scummvm.org)
Date: 2025-05-28T01:35:00+01:00
Commit Message:
ALG: Fix Uninitialized Value For Scene Difficulty
Revealed by playing Johnny Rock under Valgrind when changing difficulty
in the menu.
Changed paths:
engines/alg/scene.cpp
diff --git a/engines/alg/scene.cpp b/engines/alg/scene.cpp
index f6e20038a35..562ef4f44fe 100644
--- a/engines/alg/scene.cpp
+++ b/engines/alg/scene.cpp
@@ -351,6 +351,7 @@ Scene::Scene(const Common::String &name, uint32 startFrame, uint32 endFrame) {
_name = name;
_startFrame = startFrame;
_endFrame = endFrame;
+ _diff = 0;
_difficultyMod = 0;
}
More information about the Scummvm-git-logs
mailing list