fixed some warnings
svn-id: r4204
This commit is contained in:
parent
f412e7bb57
commit
ff376ea8a5
5 changed files with 13 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue