diff options
author | Paul Gilbert | 2017-06-23 20:27:40 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-06-23 20:27:40 -0400 |
commit | 5455b81e6ec3cd9853766306bf2002e9358a7527 (patch) | |
tree | 5baacd0add0d29cdb8f8f221ecd0a844ba88d482 | |
parent | 24d4b0440d8b0e433330f4f5fa12954c5c7fe727 (diff) | |
download | scummvm-rg350-5455b81e6ec3cd9853766306bf2002e9358a7527.tar.gz scummvm-rg350-5455b81e6ec3cd9853766306bf2002e9358a7527.tar.bz2 scummvm-rg350-5455b81e6ec3cd9853766306bf2002e9358a7527.zip |
TITANIC: Fix parrot idle animations
-rw-r--r-- | engines/titanic/npcs/parrot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/npcs/parrot.cpp b/engines/titanic/npcs/parrot.cpp index e1f113fcf9..b46a9bce85 100644 --- a/engines/titanic/npcs/parrot.cpp +++ b/engines/titanic/npcs/parrot.cpp @@ -465,10 +465,10 @@ bool CParrot::NPCPlayIdleAnimationMsg(CNPCPlayIdleAnimationMsg *msg) { if (!(_npcFlags & (NPCFLAG_MOVING | NPCFLAG_MOVE_START | NPCFLAG_MOVE_LOOP | NPCFLAG_MOVE_FINISH | NPCFLAG_MOVE_LEFT | NPCFLAG_MOVE_RIGHT | NPCFLAG_MOVE_END)) - && _visible && _state == PARROT_IN_CAGE && !compareViewNameTo("ParrotLobby.Node 1.N")) { + && _visible && _state == PARROT_IN_CAGE && compareViewNameTo("ParrotLobby.Node 1.N")) { CGameObject *dragItem = getDraggingObject(); if (!dragItem || dragItem->getName() == "Chicken") { - if (!_coreReplaced ||getRandomNumber(3) != 0) { + if (!_coreReplaced || getRandomNumber(3) != 0) { if (getRandomNumber(1)) { startTalking(this, 280267, findView()); } else { |