mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
Fix for bug #2464538 "PARALLACTION: Compiler error on AmigaOS4",
svn-id: r35533
This commit is contained in:
parent
c8ae5fa9d2
commit
45529628e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user