diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/npcs/parrot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/npcs/parrot.cpp b/engines/titanic/npcs/parrot.cpp index 9e6366ace2..a35a0d915c 100644 --- a/engines/titanic/npcs/parrot.cpp +++ b/engines/titanic/npcs/parrot.cpp @@ -607,7 +607,7 @@ bool CParrot::FrameMsg(CFrameMsg *msg) { if ((_npcFlags & NPCFLAG_10000) || hasActiveMovie()) return true; - if (_newXc > 64) { + if (ABS(_newXc - xp) > 64) { _npcFlags |= NPCFLAG_10000 | NPCFLAG_20000; if (_newXc >= xp) { |