aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/npcs
diff options
context:
space:
mode:
authorPaul Gilbert2017-06-23 20:22:04 -0400
committerPaul Gilbert2017-06-23 20:22:04 -0400
commit24d4b0440d8b0e433330f4f5fa12954c5c7fe727 (patch)
tree14d8639f875c962b8b36589e979d72635653961f /engines/titanic/npcs
parent74b335fdc686a68dd41d8d31b7e270cc2d97b48b (diff)
downloadscummvm-rg350-24d4b0440d8b0e433330f4f5fa12954c5c7fe727.tar.gz
scummvm-rg350-24d4b0440d8b0e433330f4f5fa12954c5c7fe727.tar.bz2
scummvm-rg350-24d4b0440d8b0e433330f4f5fa12954c5c7fe727.zip
TITANIC: Fix talking animations for Parrot
Diffstat (limited to 'engines/titanic/npcs')
-rw-r--r--engines/titanic/npcs/parrot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/npcs/parrot.cpp b/engines/titanic/npcs/parrot.cpp
index 6a48837d08..e1f113fcf9 100644
--- a/engines/titanic/npcs/parrot.cpp
+++ b/engines/titanic/npcs/parrot.cpp
@@ -450,7 +450,7 @@ bool CParrot::NPCPlayTalkingAnimationMsg(CNPCPlayTalkingAnimationMsg *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) {
- if (!compareViewNameTo("ParrotLobby.Node 1.N"))
+ if (compareViewNameTo("ParrotLobby.Node 1.N"))
msg->_names = NAMES;
}