Skip to content

Commit

Permalink
TITANIC: Fix if check in CParrot frameMsg
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jan 17, 2017
1 parent 6a955be commit 42814d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/titanic/npcs/parrot.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 42814d2

Please sign in to comment.