Ticket #8111: dott-regression.diff

File dott-regression.diff, 504 bytes (added by eriktorbjorn, 21 years ago)

Patch against an October 26 CVS snapshot

  • scummvm/scumm/gfx.cpp

    diff -ur ScummVM-cvs20021026/scummvm/scumm/gfx.cpp ScummVM-cvs20021026+hack/scummvm/scumm/gfx.cpp
    old new  
    895895                if (vs->scrollable)
    896896                        sx -= vs->xstart >> 3;
    897897
     898                if (sx < 0)
     899                        goto next_iter;
     900
    898901                if (sx >= _numStrips)
    899902                        return;
    900903
     
    990993                                }
    991994                        }
    992995                }
     996
     997next_iter:
    993998                CHECK_HEAP;
    994999                x++;
    9951000                stripnr++;