Ticket #8914: scumm-talkspeed-slider.patch

File scumm-talkspeed-slider.patch, 875 bytes (added by salty-horse, 16 years ago)
  • engines/scumm/input.cpp

     
    527527                _defaultTalkDelay = 9 - runDialog(dlg);
    528528
    529529                // Save the new talkspeed value to ConfMan
    530                 setTalkspeed(_defaultTalkDelay);
     530                setTalkspeed(9 - _defaultTalkDelay);
    531531
    532532                if (VAR_CHARINC != 0xFF)
    533533                        VAR(VAR_CHARINC) = _defaultTalkDelay;
  • engines/scumm/scumm.cpp

     
    16901690        if (VAR_VOICE_MODE != 0xFF)
    16911691                VAR(VAR_VOICE_MODE) = _voiceMode;
    16921692
    1693         _defaultTalkDelay = getTalkspeed();
     1693        _defaultTalkDelay = 9 - getTalkspeed();
    16941694        if (VAR_CHARINC != 0xFF)
    16951695                VAR(VAR_CHARINC) = _defaultTalkDelay;
    16961696}