fixed some warnings

svn-id: r4204
This commit is contained in:
Max Horn 2002-05-05 18:10:29 +00:00
parent f412e7bb57
commit ff376ea8a5
5 changed files with 13 additions and 5 deletions

View file

@ -920,6 +920,7 @@ int Scumm::getInventorySlot()
return i;
}
error("Inventory full, %d max items", _maxInventoryItems);
return -1;
}
void Scumm::SamInventoryHack(int obj)
@ -1281,6 +1282,7 @@ int Scumm::findFlObjectSlot()
return i;
}
error("findFlObjectSlot: Out of FLObject slots");
return -1;
}
void Scumm::loadFlObject(uint object, uint room)