Ticket #8080: verb-text-fix.diff

File verb-text-fix.diff, 738 bytes (added by eriktorbjorn, 22 years ago)

Patch against an October 4 CVS snapshot

  • scummvm/scumm/string.cpp

    diff -ur ScummVM-cvs20021004/scummvm/scumm/string.cpp ScummVM-cvs20021004+hack/scummvm/scumm/string.cpp
    old new  
    560560                charset._left -= charset.getStringWidth(a, buf, 0) >> 1;
    561561        }
    562562
    563         // Verb text should never time out.
    564         if (a == 4)
     563        // In Full Throttle (and other games?), verb text should always mask
     564        // and never time out. We can't do it blindly for all games, because
     565        // it causes problem with the FOA intro.
     566
     567        if (_gameId == GID_FT && a == 4)
    565568                _talkDelay = -1;
     569        else
     570                charset._ignoreCharsetMask = 1;
    566571
    567572        if (!buf[0]) {
    568573                buf[0] = ' ';