Ticket #1674: costume-hack.diff

File costume-hack.diff, 671 bytes (added by eriktorbjorn, 20 years ago)

Patch against a July 2 CVS snapshot

  • scumm/actor.cpp

    diff -ur --exclude=CVS --exclude=Makefile ScummVM/scumm/actor.cpp ScummVM+hack/scumm/actor.cpp
    old new  
    12351235void Actor::setActorCostume(int c) {
    12361236        int i;
    12371237
     1238        // HACK: The "Mr. Veggie Head" mini-game in Fatty Bear's Birthday
     1239        // surprise has several costumes where this bit is set. It seems to
     1240        // work fine if I just clear the bit, but surely it has to mean
     1241        // something?
     1242
     1243        if (c & 0x8000)
     1244                c &= 0x7fff;
     1245
    12381246        if ((_vm->_features & GF_HUMONGOUS) && (c == -1  || c == -2)) {
    12391247                skipLimb = (c == -1);
    12401248                needRedraw = true;