Ticket #8169: cmi-actor-redraw.diff

File cmi-actor-redraw.diff, 1.1 KB (added by eriktorbjorn, 17 years ago)

Patch against a February 2 CVS snapshot

  • scummvm/scumm/gfx.cpp

    diff -ur ScummVM-cvs20030202/scummvm/scumm/gfx.cpp ScummVM-cvs20030202+hack/scummvm/scumm/gfx.cpp
    old new  
    693693                        redrawBGStrip(0, 1);
    694694                } else if (_fullRedraw != 0 || diff != 0) {
    695695                        _BgNeedsRedraw = false;
    696                         _fullRedraw = false;
    697696                        redrawBGStrip(0, gdi._numStrips);
    698697                }
    699698        } else {
  • scummvm/scumm/script_v6.cpp

    diff -ur ScummVM-cvs20030202/scummvm/scumm/script_v6.cpp ScummVM-cvs20030202+hack/scummvm/scumm/script_v6.cpp
    old new  
    24662466void Scumm_v6::o6_kernelSetFunctions()
    24672467{
    24682468        int args[30];
    2469         int i;
    24702469        Actor *a;
    24712470
    24722471        getStackList(args, sizeof(args) / sizeof(args[0]));
     
    26572656                case 6:
    26582657                        _fullRedraw = 1;
    26592658                        redrawBGAreas();
    2660                         for (i = 1; i < NUM_ACTORS; i++)
    2661                                 derefActor(i)->needRedraw = true;
     2659                        setActorRedrawFlags(true, false);
    26622660                        processActors();
    26632661                        fadeIn(args[1]);
    26642662                        break;