mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-27 20:28:27 +00:00
Fix regression in HE. It cries for proper fix, though
svn-id: r14438
This commit is contained in:
parent
e4c813670f
commit
b127f1882c
@ -353,7 +353,9 @@ void ScummEngine::nukeArrays(int script) {
|
||||
return;
|
||||
|
||||
for (i = 1; i < _numArray; i++) {
|
||||
if (_arraySlot[i] == script) {
|
||||
// HACK: for some reason original has script number greater by one
|
||||
// maybe it got increased somewhere else
|
||||
if (_arraySlot[i] == script + 1) {
|
||||
nukeResource(rtString, i);
|
||||
_arraySlot[i] = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user