diff options
author | Torbjörn Andersson | 2006-04-11 11:34:06 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-04-11 11:34:06 +0000 |
commit | cba4871140cec8a976c240fb9de87c16712e99cc (patch) | |
tree | 784f7cda2fe7e9ffbd0327ddb1d782ea9da41656 /engines | |
parent | e3254a88792a54adc75f8fb2b00fc5b640dd43d5 (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/lure/hotspots.cpp | 2 |
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; |