diff options
Diffstat (limited to 'engines/sludge/line.cpp')
-rw-r--r-- | engines/sludge/line.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sludge/line.cpp b/engines/sludge/line.cpp index 2262d9255f..58fd64a59b 100644 --- a/engines/sludge/line.cpp +++ b/engines/sludge/line.cpp @@ -63,8 +63,8 @@ void drawLine(int x1, int y1, int x2, int y2) { } else y = y1; - int diffX = abs(x2 - x1); - int diffY = abs(y2 - y1); + int diffX = ABS(x2 - x1); + int diffY = ABS(y2 - y1); if (!diffX) { diffX = 1; |