[Scummvm-git-logs] scummvm branch-2-9 -> 75b547cf26d4ec034d13d6fbacbe2a24d8daa6b7

eriktorbjorn noreply at scummvm.org
Fri Jan 3 20:43:18 UTC 2025


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:
75b547cf26 ASYLUM: Initialize variables to silence Valgrind warnings


Commit: 75b547cf26d4ec034d13d6fbacbe2a24d8daa6b7
    https://github.com/scummvm/scummvm/commit/75b547cf26d4ec034d13d6fbacbe2a24d8daa6b7
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2025-01-03T21:43:10+01:00

Commit Message:
ASYLUM: Initialize variables to silence Valgrind warnings

Changed paths:
    engines/asylum/views/scene.cpp


diff --git a/engines/asylum/views/scene.cpp b/engines/asylum/views/scene.cpp
index df5a6df6531..820d8172aa3 100644
--- a/engines/asylum/views/scene.cpp
+++ b/engines/asylum/views/scene.cpp
@@ -69,6 +69,9 @@ Scene::Scene(AsylumEngine *engine): _vm(engine),
 	_musicVolume = 0;
 	_frameCounter = 0;
 
+	_keyState = 0;
+	_rightButtonDown = false;
+
 	_savedScreen.create(640, 480, Graphics::PixelFormat::createFormatCLUT8());
 
 	_debugShowVersion = false;




More information about the Scummvm-git-logs mailing list