aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/hotspots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index 208509e87d..8d4ac1ece1 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -357,7 +357,7 @@ void Hotspot::setOccupied(bool occupiedFlag) {
_pathfindCovered = occupiedFlag;
int yp = (y() - 8 + heightCopy() - 4) >> 3;
- int widthVal = max((widthCopy() >> 3), 1);
+ int widthVal = MAX((widthCopy() >> 3), 1);
// Handle cropping for screen left
int xp = (x() >> 3) - 16;