diff options
author | Paul Gilbert | 2016-10-28 20:19:35 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-10-28 20:19:35 -0400 |
commit | f7c7f11435c96781d02c8c44c29e9da08392eec2 (patch) | |
tree | b56fbe645b3f902a29310e847baf1c7007799cab /engines/titanic/game/maitred | |
parent | aee3599e6bc2fd2cf8cd627de7f607365302efa6 (diff) | |
download | scummvm-rg350-f7c7f11435c96781d02c8c44c29e9da08392eec2.tar.gz scummvm-rg350-f7c7f11435c96781d02c8c44c29e9da08392eec2.tar.bz2 scummvm-rg350-f7c7f11435c96781d02c8c44c29e9da08392eec2.zip |
TITANIC: Renames and adding debugging
Diffstat (limited to 'engines/titanic/game/maitred')
-rw-r--r-- | engines/titanic/game/maitred/maitred_prod_receptor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/maitred/maitred_prod_receptor.cpp b/engines/titanic/game/maitred/maitred_prod_receptor.cpp index 95e029af44..6f64a76d7f 100644 --- a/engines/titanic/game/maitred/maitred_prod_receptor.cpp +++ b/engines/titanic/game/maitred/maitred_prod_receptor.cpp @@ -81,7 +81,7 @@ bool CMaitreDProdReceptor::MouseMoveMsg(CMouseMoveMsg *msg) { prodMsg._value = 125; CMaitreD *maitreD = dynamic_cast<CMaitreD *>(findRoomObject("MaitreD")); - if (maitreD && maitreD->_field100 <= 0) + if (maitreD && maitreD->_speechCounter == 0) prodMsg.execute(this); return true; @@ -90,7 +90,7 @@ bool CMaitreDProdReceptor::MouseMoveMsg(CMouseMoveMsg *msg) { bool CMaitreDProdReceptor::ProdMaitreDMsg(CProdMaitreDMsg *msg) { if (_fieldC4) { CMaitreD *maitreD = static_cast<CMaitreD *>(findRoomObject("MaitreD")); - if (maitreD->_field100 <= 0) { + if (maitreD->_speechCounter == 0) { CViewItem *view = findView(); startTalking(maitreD, msg->_value, view); |