diff options
author | Paul Gilbert | 2016-12-26 23:22:10 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-12-26 23:22:10 -0500 |
commit | 3603ed73f0e95c286362f089ccffad42f2f40182 (patch) | |
tree | 756d8399e110ea75a88cec4c8554de67e0641d33 /engines/titanic/game/parrot | |
parent | a5f01bbfb8ad72a983a08fb18ae940931702ccab (diff) | |
download | scummvm-rg350-3603ed73f0e95c286362f089ccffad42f2f40182.tar.gz scummvm-rg350-3603ed73f0e95c286362f089ccffad42f2f40182.tar.bz2 scummvm-rg350-3603ed73f0e95c286362f089ccffad42f2f40182.zip |
TITANIC: Change CParrot::_v4 to _state
Diffstat (limited to 'engines/titanic/game/parrot')
-rw-r--r-- | engines/titanic/game/parrot/parrot_perch_holder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/game/parrot/parrot_perch_holder.cpp b/engines/titanic/game/parrot/parrot_perch_holder.cpp index ee1d308765..557f70437a 100644 --- a/engines/titanic/game/parrot/parrot_perch_holder.cpp +++ b/engines/titanic/game/parrot/parrot_perch_holder.cpp @@ -48,7 +48,7 @@ bool CParrotPerchHolder::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { if (!CParrot::_v1) { if (CCage::_open) { petDisplayMessage(CANNOT_TAKE_CAGE_LOCKED); - } else if (!CParrot::_v4) { + } else if (CParrot::_state == PARROT_IN_CAGE) { CTrueTalkTriggerActionMsg triggerMsg(280252, 0, 0); triggerMsg.execute(getRoot(), CParrot::_type, MSGFLAG_CLASS_DEF | MSGFLAG_BREAK_IF_HANDLED | MSGFLAG_SCAN); |