aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/engine/sprites_eob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/engine/sprites_eob.cpp b/engines/kyra/engine/sprites_eob.cpp
index 55e8aaf002..540710e1ac 100644
--- a/engines/kyra/engine/sprites_eob.cpp
+++ b/engines/kyra/engine/sprites_eob.cpp
@@ -833,7 +833,7 @@ int EoBCoreEngine::getNextMonsterDirection(int curBlock, int destBlock) {
int r = 0;
- int s1 = f - d;
+ int s1 = (_flags.platform == Common::kPlatformAmiga) ? (d - f) : (f - d);
int d1 = ABS(s1);
s1 <<= 1;
int s2 = c - e;