MADS: Fix a couple of warnings in the hotspot code
This commit is contained in:
parent
0b1c15e6dc
commit
48e785c329
2 changed files with 2 additions and 2 deletions
|
@ -665,7 +665,7 @@ void UserInterface::scrollInventory() {
|
|||
_scrollFlag = true;
|
||||
|
||||
if (yp == (MADS_SCREEN_HEIGHT - 1)) {
|
||||
if (_inventoryTopIndex < (invList.size() - 1)) {
|
||||
if (_inventoryTopIndex < (int)(invList.size() - 1)) {
|
||||
++_inventoryTopIndex;
|
||||
_inventoryChanged = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue