LOL: fixed warning

svn-id: r43971
This commit is contained in:
Florian Kagerer 2009-09-06 01:30:45 +00:00
parent 79228dbd45
commit 0c6aa2ef0d

View File

@ -2351,7 +2351,7 @@ int GUI_LoL::runMenu(Menu &menu) {
int slotOffs = (_currentMenu == &_saveMenu) ? 1 : 0;
if (((uint)_savegameOffset == _saveSlots.size() - (4 - slotOffs)) || _saveSlots.size() < (5 - slotOffs)) {
if (((uint)_savegameOffset == _saveSlots.size() - (4 - slotOffs)) || _saveSlots.size() < (uint)(5 - slotOffs)) {
_scrollDownButton.data0ShapePtr = _scrollDownButton.data1ShapePtr = _scrollDownButton.data2ShapePtr = 0;
} else {
_scrollDownButton.data0ShapePtr = _vm->_gameShapes[18];