getScriptSlot() must start from slot 1, required for nukeArrays() in HE games.
svn-id: r17383
This commit is contained in:
parent
23e4199699
commit
aeec229615
6 changed files with 23 additions and 23 deletions
|
@ -1179,16 +1179,16 @@ void ScummEngine_v60he::o60_soundOps() {
|
|||
}
|
||||
}
|
||||
|
||||
void ScummEngine_v60he::localizeArray(int slot, byte script) {
|
||||
void ScummEngine_v60he::localizeArray(int slot, byte scriptSlot) {
|
||||
if (slot >= _numArray)
|
||||
error("o60_localizeArrayToScript(%d): array slot out of range", slot);
|
||||
|
||||
_arraySlot[slot] = script;
|
||||
_arraySlot[slot] = scriptSlot;
|
||||
}
|
||||
|
||||
void ScummEngine_v60he::o60_localizeArrayToScript() {
|
||||
int slot = pop();
|
||||
localizeArray(slot, vm.slot[_currentScript].number);
|
||||
localizeArray(slot, _currentScript);
|
||||
}
|
||||
|
||||
void ScummEngine_v60he::o60_seekFilePos() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue