diff options
author | Paul Gilbert | 2017-01-16 21:41:49 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-16 21:41:49 -0500 |
commit | 42814d228243cd44b92182828f4f7d9d255aaffc (patch) | |
tree | ddaed4dde4a242f4e85752afa2354391f8f16b79 /engines/titanic/npcs | |
parent | 6a955be8ac1394b5257c98a9500fda9f4343c39e (diff) | |
download | scummvm-rg350-42814d228243cd44b92182828f4f7d9d255aaffc.tar.gz scummvm-rg350-42814d228243cd44b92182828f4f7d9d255aaffc.tar.bz2 scummvm-rg350-42814d228243cd44b92182828f4f7d9d255aaffc.zip |
TITANIC: Fix if check in CParrot frameMsg
Diffstat (limited to 'engines/titanic/npcs')
-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) { |