mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 09:21:08 +00:00
HOPKINS: Fix regression introduced in 4ce218ef00
This commit is contained in:
parent
4fed1f580e
commit
9ceb6c18cd
@ -2351,7 +2351,6 @@ int ScriptManager::handleOpcode(byte *dataP) {
|
||||
int idx = (int16)READ_LE_UINT16(dataP + 5);
|
||||
assert(idx >= 0 && idx < 2050);
|
||||
_vm->_globals._saveData->_data[idx] = dataP[7];
|
||||
_vm->_globals._saveData->_data[idx + 1] = dataP[8];
|
||||
} else if (dataP[2] == 'A' && dataP[3] == 'D' && dataP[4] == 'D') {
|
||||
opcodeType = 1;
|
||||
_vm->_globals._saveData->_data[(int16)READ_LE_UINT16(dataP + 5)] += dataP[7];
|
||||
|
Loading…
Reference in New Issue
Block a user