aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/carry/phonograph_cylinder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/carry/phonograph_cylinder.cpp')
-rw-r--r--engines/titanic/carry/phonograph_cylinder.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/engines/titanic/carry/phonograph_cylinder.cpp b/engines/titanic/carry/phonograph_cylinder.cpp
index 777aa8be5b..fa260ef876 100644
--- a/engines/titanic/carry/phonograph_cylinder.cpp
+++ b/engines/titanic/carry/phonograph_cylinder.cpp
@@ -35,15 +35,15 @@ BEGIN_MESSAGE_MAP(CPhonographCylinder, CCarry)
END_MESSAGE_MAP()
CPhonographCylinder::CPhonographCylinder() : CCarry(),
- _bellsMuteControl(false), _bellsPitchControl(false),
- _bellsSpeedControl(false), _bellsDirectionControl(false),
+ _bellsMuteControl(false), _bellsPitchControl(0),
+ _bellsSpeedControl(0), _bellsDirectionControl(false),
_bellsInversionControl(false), _snakeMuteControl(false),
- _snakeSpeedControl(false), _snakePitchControl(false),
+ _snakeSpeedControl(0), _snakePitchControl(0),
_snakeInversionControl(false), _snakeDirectionControl(false),
- _pianoMuteControl(false), _pianoSpeedControl(false),
- _pianoPitchControl(false), _pianoInversionControl(false),
+ _pianoMuteControl(false), _pianoSpeedControl(0),
+ _pianoPitchControl(0), _pianoInversionControl(false),
_pianoDirectionControl(false), _bassMuteControl(false),
- _bassSpeedControl(false), _bassPitchControl(false),
+ _bassSpeedControl(0), _bassPitchControl(0),
_bassInversionControl(false) {
}
@@ -104,6 +104,7 @@ void CPhonographCylinder::load(SimpleFile *file) {
bool CPhonographCylinder::UseWithOtherMsg(CUseWithOtherMsg *msg) {
CPhonograph *phonograph = dynamic_cast<CPhonograph *>(msg->_other);
if (phonograph) {
+ // Below is redundant, since original never actually executes message
CSetVarMsg varMsg("m_RecordStatus", 1);
return true;
} else {