diff options
author | Paul Gilbert | 2017-01-12 19:51:09 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-12 19:51:09 -0500 |
commit | 457c8548a9fb0d88bb5dd92a2891438f309c5ec2 (patch) | |
tree | c92632e81bc84bd38ca00e1fefbc5ef5b835181d /engines/titanic/carry/carry_parrot.cpp | |
parent | 042f5cc2cad6206e47a77a6164185de11b18b10f (diff) | |
download | scummvm-rg350-457c8548a9fb0d88bb5dd92a2891438f309c5ec2.tar.gz scummvm-rg350-457c8548a9fb0d88bb5dd92a2891438f309c5ec2.tar.bz2 scummvm-rg350-457c8548a9fb0d88bb5dd92a2891438f309c5ec2.zip |
TITANIC: Renaming of CCarry fieldE0
Diffstat (limited to 'engines/titanic/carry/carry_parrot.cpp')
-rw-r--r-- | engines/titanic/carry/carry_parrot.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/titanic/carry/carry_parrot.cpp b/engines/titanic/carry/carry_parrot.cpp index 8b332610e2..c97adc080c 100644 --- a/engines/titanic/carry/carry_parrot.cpp +++ b/engines/titanic/carry/carry_parrot.cpp @@ -93,7 +93,7 @@ bool CCarryParrot::IsParrotPresentMsg(CIsParrotPresentMsg *msg) { bool CCarryParrot::LeaveViewMsg(CLeaveViewMsg *msg) { if (_visible) { setVisible(false); - _fieldE0 = 0; + _canTake = false; CParrot::_state = PARROT_ESCAPED; } @@ -109,7 +109,7 @@ bool CCarryParrot::MouseDragEndMsg(CMouseDragEndMsg *msg) { if (msg->_mousePos.x >= 75 && msg->_mousePos.x <= 565 && !CParrot::_v2 && !CCage::_open) { setVisible(false); - _fieldE0 = 0; + _canTake = false; CTreeItem *perchedParrot = findUnder(getRoot(), "PerchedParrot"); detach(); addUnder(perchedParrot); @@ -119,7 +119,7 @@ bool CCarryParrot::MouseDragEndMsg(CMouseDragEndMsg *msg) { backMsg.execute(perchedParrot); } else { setVisible(false); - _fieldE0 = 0; + _canTake = false; CParrot::_state = PARROT_ESCAPED; playSound("z#475.wav"); sound8(true); @@ -135,7 +135,7 @@ bool CCarryParrot::MouseDragEndMsg(CMouseDragEndMsg *msg) { charMsg.execute(this, nullptr, 0); } else { setVisible(false); - _fieldE0 = 0; + _canTake = false; playSound("z#475.wav"); sound8(true); moveUnder(findRoom()); @@ -168,7 +168,7 @@ bool CCarryParrot::PassOnDragStartMsg(CPassOnDragStartMsg *msg) { if (npc) startTalking(npc, 0x446BF); - _fieldE0 = 0; + _canTake = false; playSound("z#475.wav"); moveUnder(findRoom()); CParrot::_state = PARROT_ESCAPED; @@ -181,7 +181,7 @@ bool CCarryParrot::PreEnterViewMsg(CPreEnterViewMsg *msg) { loadSurface(); CCarryParrot *parrot = dynamic_cast<CCarryParrot *>(getRoot()->findByName("CarryParrot")); if (parrot) - parrot->_fieldE0 = 0; + parrot->_canTake = false; return true; } @@ -201,7 +201,7 @@ bool CCarryParrot::ActMsg(CActMsg *msg) { startTalking(npc, 0x446BF); setVisible(false); - _fieldE0 = 0; + _canTake = false; if (CParrot::_state == PARROT_4) { playSound("z#475.wav"); |