Ticket #2028: maniac_1202487.diff

File maniac_1202487.diff, 516 bytes (added by cyxx, 19 years ago)
  • scumm/script.cpp

    RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
    retrieving revision 1.223
    diff -u -r1.223 script.cpp
     
    420420        default:
    421421                error("Bad type while getting base address");
    422422        }
     423        if (_version <= 2 && _scriptOrgPointer == NULL) {
     424                ss->status = ssDead;
     425                _currentScript = 0xFF;
     426        }
    423427}
    424428
    425429