diff options
author | Johannes Schickel | 2008-12-25 00:18:01 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-12-25 00:18:01 +0000 |
commit | 45529628e17a0425a7559aa5787e55886d90fc5d (patch) | |
tree | be8109874fdf0afdfbed7c2f4619b4e94575579b | |
parent | c8ae5fa9d2e778f85bbfc6e0df5d6c3cc66824fa (diff) | |
download | scummvm-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
-rw-r--r-- | engines/parallaction/graphics.cpp | 2 |
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 |