aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2008-12-25 00:18:01 +0000
committerJohannes Schickel2008-12-25 00:18:01 +0000
commit45529628e17a0425a7559aa5787e55886d90fc5d (patch)
treebe8109874fdf0afdfbed7c2f4619b4e94575579b /engines
parentc8ae5fa9d2e778f85bbfc6e0df5d6c3cc66824fa (diff)
downloadscummvm-rg350-45529628e17a0425a7559aa5787e55886d90fc5d.tar.gz
scummvm-rg350-45529628e17a0425a7559aa5787e55886d90fc5d.tar.bz2
scummvm-rg350-45529628e17a0425a7559aa5787e55886d90fc5d.zip
Fix for bug #2464538 "PARALLACTION: Compiler error on AmigaOS4",
svn-id: r35533
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp
index 83570013fa..6d5028262c 100644
--- a/engines/parallaction/graphics.cpp
+++ b/engines/parallaction/graphics.cpp
@@ -817,7 +817,7 @@ void Gfx::setBackground(uint type, BackgroundInfo *info) {
}
_minScroll = 0;
- _maxScroll = MAX(0, _backgroundInfo->width - _vm->_screenWidth);
+ _maxScroll = MAX<int>(0, _backgroundInfo->width - _vm->_screenWidth);
}
} // namespace Parallaction