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

@ -162,6 +162,7 @@ int Scumm::getScriptSlot()
return i;
}
error("Too many scripts running, %d max", NUM_SCRIPT_SLOT);
return -1;
}
/* Run script 'script' nested - eg, within the parent script.*/
@ -350,6 +351,7 @@ int Scumm::readVar(uint var)
}
error("Illegal varbits (r)");
return -1;
}
void Scumm::writeVar(uint var, int value)
@ -1055,6 +1057,7 @@ int Scumm::getArrayId()
return i;
}
error("Out of array pointers, %d max", _numArray);
return -1;
}
void Scumm::arrayop_1(int a, byte *ptr)