[Scummvm-git-logs] scummvm master -> 5d11c67d0078dfb0d61985cca8c2195b87573e86

dreammaster dreammaster at scummvm.org
Fri Mar 31 04:33:28 CEST 2017


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:
5d11c67d00 TITANIC: Fix initialization of CStarControl _petControl reference


Commit: 5d11c67d0078dfb0d61985cca8c2195b87573e86
    https://github.com/scummvm/scummvm/commit/5d11c67d0078dfb0d61985cca8c2195b87573e86
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-03-30T22:32:44-04:00

Commit Message:
TITANIC: Fix initialization of CStarControl _petControl reference

Changed paths:
    engines/titanic/star_control/star_control.cpp


diff --git a/engines/titanic/star_control/star_control.cpp b/engines/titanic/star_control/star_control.cpp
index 881de58..289527b 100644
--- a/engines/titanic/star_control/star_control.cpp
+++ b/engines/titanic/star_control/star_control.cpp
@@ -41,7 +41,7 @@ BEGIN_MESSAGE_MAP(CStarControl, CGameObject)
 	ON_MESSAGE(FrameMsg)
 END_MESSAGE_MAP()
 
-CStarControl::CStarControl() : _enabled(false),
+CStarControl::CStarControl() : _enabled(false), _petControl(nullptr),
 		_starRect(20, 10, 620, 350) {
 	CStarControlSub12::init();
 	DMatrix::init();





More information about the Scummvm-git-logs mailing list