Fix regression in HE. It cries for proper fix, though

svn-id: r14438
This commit is contained in:
Eugene Sandulenko 2004-08-02 14:27:10 +00:00
parent e4c813670f
commit b127f1882c

View File

@ -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;
}