Ticket #8182: cmi-actor-scale-hack.diff

File cmi-actor-scale-hack.diff, 751 bytes (added by eriktorbjorn, 18 years ago)

Patch against a March 1 CVS snapshot

  • scummvm/scumm/script_v8.cpp

    diff -ur ScummVM-cvs20030301/scummvm/scumm/script_v8.cpp ScummVM-cvs20030301+hack/scummvm/scumm/script_v8.cpp
    old new  
    10331033void Scumm_v8::o8_actorOps()
    10341034{
    10351035        byte subOp = fetchScriptByte();
     1036        byte oldIgnoreBoxes;
    10361037        Actor *a;
    10371038        int i, j;
    10381039
     
    10821083        case 0x6D:              // SO_ACTOR_DEFAULT
    10831084                // FIXME - is this right? Or maybe a->initActor(2) ?
    10841085                //warning("o8_actorOps: SO_ACTOR_DEFAULT");
     1086                oldIgnoreBoxes = a->ignoreBoxes;
    10851087                a->initActor(0);
     1088                a->ignoreBoxes = oldIgnoreBoxes;
    10861089                break;
    10871090        case 0x6E:              // SO_ACTOR_ELEVATION
    10881091                a->elevation = pop();