Skip to content

Commit

Permalink
TITANIC: Fix initialization of CStarControl _petControl reference
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Mar 31, 2017
1 parent 751a967 commit 5d11c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/titanic/star_control/star_control.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 5d11c67

Please sign in to comment.