diff options
author | Paul Gilbert | 2016-12-22 18:50:09 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-12-24 18:23:34 -0500 |
commit | 4c1da0fc223fc1b6e6bf22f043e1a18fb51b40ab (patch) | |
tree | 1c70078744c7e3669927f6e36f909f512a819d3e /engines/titanic/game/nose_holder.cpp | |
parent | 9e11746eba734fd88ef8c8d1d17d16ef3dac3c99 (diff) | |
download | scummvm-rg350-4c1da0fc223fc1b6e6bf22f043e1a18fb51b40ab.tar.gz scummvm-rg350-4c1da0fc223fc1b6e6bf22f043e1a18fb51b40ab.tar.bz2 scummvm-rg350-4c1da0fc223fc1b6e6bf22f043e1a18fb51b40ab.zip |
TITANIC: Renamings on CDropTarget
Diffstat (limited to 'engines/titanic/game/nose_holder.cpp')
-rw-r--r-- | engines/titanic/game/nose_holder.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/game/nose_holder.cpp b/engines/titanic/game/nose_holder.cpp index 6882e4f56d..d00c7b372e 100644 --- a/engines/titanic/game/nose_holder.cpp +++ b/engines/titanic/game/nose_holder.cpp @@ -51,7 +51,7 @@ void CNoseHolder::load(SimpleFile *file) { } bool CNoseHolder::ActMsg(CActMsg *msg) { - if (msg->_action == "Sneeze" && !_itemName.empty() && _fieldF4) { + if (msg->_action == "Sneeze" && !_itemName.empty() && _dropEnabled) { CProximity prox; prox._positioningMode = POSMODE_VECTOR; playSound("z#35.wav", prox); @@ -93,7 +93,7 @@ bool CNoseHolder::FrameMsg(CFrameMsg *msg) { bool CNoseHolder::LeaveViewMsg(CLeaveViewMsg *msg) { _draggingFeather = false; _dragObject = nullptr; - if (_fieldF4) { + if (_dropEnabled) { loadFrame(_dropFrame); setVisible(false); } @@ -102,7 +102,7 @@ bool CNoseHolder::LeaveViewMsg(CLeaveViewMsg *msg) { } bool CNoseHolder::MovieEndMsg(CMovieEndMsg *msg) { - if (_fieldF4) { + if (_dropEnabled) { loadFrame(_dropFrame); setVisible(false); } @@ -111,7 +111,7 @@ bool CNoseHolder::MovieEndMsg(CMovieEndMsg *msg) { } bool CNoseHolder::EnterViewMsg(CEnterViewMsg *msg) { - if (_fieldF4) + if (_dropEnabled) setVisible(false); return CDropTarget::EnterViewMsg(msg); |