Ticket #8458: kyra.diff

File kyra.diff, 533 bytes (added by eriktorbjorn, 19 years ago)

Patch against a September 2 CVS snapshot

  • kyra/kyra.cpp

    diff -ur --exclude=CVS ScummVM/kyra/kyra.cpp ScummVM+hack/kyra/kyra.cpp
    old new  
    433433        const uint8 *data = _screen->getPagePtr(pageNum);
    434434        uint16 numShapes = READ_LE_UINT16(data);
    435435        if (shape < numShapes) {
    436                 uint16 offs = READ_LE_UINT16(data + 2 + shape * 2);
     436                uint16 offs = READ_LE_UINT32(data + 2 + shape * 4);
    437437                if (offs != 0) {
    438438                        data += offs;
    439439                        uint16 sz = READ_LE_UINT16(data + 6);