Ticket #8189: cmi-room-new-palette.diff

File cmi-room-new-palette.diff, 656 bytes (added by eriktorbjorn, 22 years ago)

Patch against a March 13 CVS snapshot

  • scummvm/scumm/script_v8.cpp

    diff -ur ScummVM-cvs20030313/scummvm/scumm/script_v8.cpp ScummVM-cvs20030313+hack/scummvm/scumm/script_v8.cpp
    old new  
    979979                error("o8_roomOps: unimplemented case %d", subOp);
    980980                break;
    981981        case 0x5C:              // SO_ROOM_NEW_PALETTE New palette
    982                 // FIXME: Used in the Crypt scene
    983                 warning("o8_roomOps: unimplemented case SO_ROOM_NEW_PALETTE(%d)", pop());
     982                a = pop();
     983                setPalette(a);
    984984                break;
    985985        case 0x5D:              // SO_ROOM_SAVE_GAME Save game
    986986                _saveLoadCompatible = true;