Ticket #8107: stumpfix.patch

File stumpfix.patch, 589 bytes (added by SF/doren, 21 years ago)
  • string.cpp

    diff -Naur scumm/string.cpp scumm/new/string.cpp
    old new  
    171171        if (_string[3].color == 0)
    172172                _string[3].color = 4;
    173173
    174         InfoDialog* dialog = new InfoDialog(_newgui, this, (char*)buf);
    175         runDialog (dialog);
    176         delete dialog;
     174        if (_gameId == GID_MONKEY_VGA) {
     175                InfoDialog* dialog = new InfoDialog(_newgui, this, (char*)buf);
     176                runDialog(dialog);
     177                delete dialog;
     178        } else {
     179                printf("unkMessage2: %s\n", buf);
     180        }
    177181
    178182        _messagePtr = tmp;
    179183}