Fix for bug #2464538 "PARALLACTION: Compiler error on AmigaOS4",

svn-id: r35533
This commit is contained in:
Johannes Schickel 2008-12-25 00:18:01 +00:00
parent c8ae5fa9d2
commit 45529628e1

View File

@ -817,7 +817,7 @@ void Gfx::setBackground(uint type, BackgroundInfo *info) {
} }
_minScroll = 0; _minScroll = 0;
_maxScroll = MAX(0, _backgroundInfo->width - _vm->_screenWidth); _maxScroll = MAX<int>(0, _backgroundInfo->width - _vm->_screenWidth);
} }
} // namespace Parallaction } // namespace Parallaction