diff options
-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 |