Ticket #8132: monkeyvga-deprot.diff

File monkeyvga-deprot.diff, 554 bytes (added by eriktorbjorn, 19 years ago)

Patch against a November 18 CVS snapshot

  • scummvm/scumm/script.cpp

    diff -ur ScummVM-cvs20021118/scummvm/scumm/script.cpp ScummVM-cvs20021118+hack/scummvm/scumm/script.cpp
    old new  
    329329                        copyprotbypassed = true;
    330330                        var = 518;
    331331                }
     332
     333                if (var == 179 && _gameId == GID_MONKEY_VGA && !copyprotbypassed) {
     334                        copyprotbypassed = true;
     335                        var = 266;
     336                }
    332337#endif
    333338
    334339                checkRange(_numVariables - 1, 0, var, "Variable %d out of range(r)");