aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise/actor.cpp')
-rw-r--r--engines/cruise/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/actor.cpp b/engines/cruise/actor.cpp
index 29c818d15f..505817282f 100644
--- a/engines/cruise/actor.cpp
+++ b/engines/cruise/actor.cpp
@@ -717,7 +717,7 @@ int16 computePathfinding(int16 *pSolution, int16 _X, int16 _Y, int16 destX,
void set_anim(int ovl, int obj, int start, int x, int y, int mat, int state) {
int newf, zoom;
- newf = abs(mat) - 1;
+ newf = ABS(mat) - 1;
zoom = computeZoom(y);
if (mat < 0)