diff options
Diffstat (limited to 'engines/sludge/backdrop.cpp')
| -rw-r--r-- | engines/sludge/backdrop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/backdrop.cpp b/engines/sludge/backdrop.cpp index bda9f5544e..aada7f110c 100644 --- a/engines/sludge/backdrop.cpp +++ b/engines/sludge/backdrop.cpp @@ -399,7 +399,7 @@ void blankScreen(int x1, int y1, int x2, int y2) { } void hardScroll(int distance) { - if (abs(distance) >= sceneHeight) { + if (ABS(distance) >= sceneHeight) { blankScreen(0, 0, sceneWidth, sceneHeight); return; } |
