diff options
-rw-r--r-- | engines/kyra/kyra_v2.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/kyra_v2.cpp b/engines/kyra/kyra_v2.cpp index a5380689a5..d3fb41d01c 100644 --- a/engines/kyra/kyra_v2.cpp +++ b/engines/kyra/kyra_v2.cpp @@ -1358,8 +1358,10 @@ int KyraEngine_v2::inputSceneChange(int x, int y, int unk1, int unk2) { return 0; } - if (ABS(_mainCharacter.x1 - x) < 4 || ABS(_mainCharacter.y1 - y) < 2) + if (ABS(_mainCharacter.x1 - x) < 4 && ABS(_mainCharacter.y1 - y) < 2) { + _pathfinderFlag = 0; return 0; + } int curX = _mainCharacter.x1 & ~3; int curY = _mainCharacter.y1 & ~1; |