aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/record_phonograph_button.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-02-13 21:46:12 -0500
committerPaul Gilbert2017-02-13 21:46:12 -0500
commit534ec946dd3448e71956cee54bdc40f26bb976f7 (patch)
treeb80ed1ff52cba0eb8ab3d86f024986946fecdcfb /engines/titanic/game/record_phonograph_button.cpp
parent7886ca6a4f9da6a8b974359371387347e3853b14 (diff)
downloadscummvm-rg350-534ec946dd3448e71956cee54bdc40f26bb976f7.tar.gz
scummvm-rg350-534ec946dd3448e71956cee54bdc40f26bb976f7.tar.bz2
scummvm-rg350-534ec946dd3448e71956cee54bdc40f26bb976f7.zip
TITANIC: Some phonograph cleanup, fix record button
Diffstat (limited to 'engines/titanic/game/record_phonograph_button.cpp')
-rw-r--r--engines/titanic/game/record_phonograph_button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/game/record_phonograph_button.cpp b/engines/titanic/game/record_phonograph_button.cpp
index 1ffaec4228..1bd2060193 100644
--- a/engines/titanic/game/record_phonograph_button.cpp
+++ b/engines/titanic/game/record_phonograph_button.cpp
@@ -45,7 +45,7 @@ bool CRecordPhonographButton::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
CPhonographRecordMsg recordMsg;
recordMsg.execute(getParent());
- if (recordMsg._value) {
+ if (recordMsg._canRecord) {
playSound("z#58.wav");
loadFrame(1);
_active = true;