aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-04-11 11:34:06 +0000
committerTorbjörn Andersson2006-04-11 11:34:06 +0000
commitcba4871140cec8a976c240fb9de87c16712e99cc (patch)
tree784f7cda2fe7e9ffbd0327ddb1d782ea9da41656 /engines/lure
parente3254a88792a54adc75f8fb2b00fc5b640dd43d5 (diff)
downloadscummvm-rg350-cba4871140cec8a976c240fb9de87c16712e99cc.tar.gz
scummvm-rg350-cba4871140cec8a976c240fb9de87c16712e99cc.tar.bz2
scummvm-rg350-cba4871140cec8a976c240fb9de87c16712e99cc.zip
Changed max() to MAX(). This fixes compilation for me.
svn-id: r21786
Diffstat (limited to 'engines/lure')
-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;