[Scummvm-cvs-logs] scummvm master -> 539c6314b15dd11f4e0cef814af3568cdecc6390

digitall dgturner at iee.org
Wed May 22 00:52:23 CEST 2013


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:
539c6314b1 NEVERHOOD: Fix uninitialized variable.


Commit: 539c6314b15dd11f4e0cef814af3568cdecc6390
    https://github.com/scummvm/scummvm/commit/539c6314b15dd11f4e0cef814af3568cdecc6390
Author: D G Turner (digitall at scummvm.org)
Date: 2013-05-21T15:54:18-07:00

Commit Message:
NEVERHOOD: Fix uninitialized variable.

Changed paths:
    engines/neverhood/modules/module1000.cpp



diff --git a/engines/neverhood/modules/module1000.cpp b/engines/neverhood/modules/module1000.cpp
index ef2872b..415d0f7 100644
--- a/engines/neverhood/modules/module1000.cpp
+++ b/engines/neverhood/modules/module1000.cpp
@@ -719,7 +719,7 @@ void AsScene1002DoorSpy::stDoorSpyBoxingGlove() {
 }
 
 SsCommonPressButton::SsCommonPressButton(NeverhoodEngine *vm, Scene *parentScene, uint32 fileHash1, uint32 fileHash2, int surfacePriority, uint32 soundFileHash) 
-	: StaticSprite(vm, 1100), _parentScene(parentScene), _status(0) {
+	: StaticSprite(vm, 1100), _parentScene(parentScene), _status(0), _countdown(0) {
 
 	_soundFileHash = soundFileHash != 0 ? soundFileHash : 0x44141000;
 	_fileHashes[0] = fileHash1;






More information about the Scummvm-git-logs mailing list