Ticket #8295: spanish-issues.patch

File spanish-issues.patch, 924 bytes (added by sev-, 20 years ago)

Patch to fix issues with Spanish FT. Unified version

  • script_v6.cpp

    old new  
    25422542                case 124:
    25432543                        _saveSound = args[1];
    25442544                        break;
     2545                case 215:
     2546                        if (args[1])
     2547                                _noSubtitles = false;
     2548                        else
     2549                                _noSubtitles = true;
     2550                        break;
    25452551                default:
    25462552                        error("o6_kernelSetFunctions: default case %d (param count %d)", args[0], num);
    25472553                        break;
     
    26612667void ScummEngine_v6::o6_kernelGetFunctions() {
    26622668        int args[30];
    26632669        int i;
     2670        int slot;
    26642671        Actor *a;
    26652672
    26662673        getStackList(args, ARRAYSIZE(args));
     
    27442751                a = derefActor(args[1], "o6_kernelGetFunctions:212");
    27452752                // This is used by walk scripts
    27462753                push(a->frame);
     2754                break;
     2755        case 213:
     2756                slot = getVerbSlot(args[1], 0);
     2757                push(_verbs[slot].x);
     2758                break;
     2759        case 214:
     2760                slot = getVerbSlot(args[1], 0);
     2761                push(_verbs[slot].y);
    27472762                break;
    27482763        case 215:
    27492764                if ((_extraBoxFlags[args[1]] & 0x00FF) == 0x00C0) {