diff options
author | Gregory Montoir | 2004-01-10 20:33:05 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-10 20:33:05 +0000 |
commit | 3e8a551d8b3cef47a96270d402d784a4cda6fb61 (patch) | |
tree | 22d818ddad05b2ddb0160c300a48a028d5d2e372 /queen | |
parent | 40651928dc7fdd71bd25edd1110ac26b30102132 (diff) | |
download | scummvm-rg350-3e8a551d8b3cef47a96270d402d784a4cda6fb61.tar.gz scummvm-rg350-3e8a551d8b3cef47a96270d402d784a4cda6fb61.tar.bz2 scummvm-rg350-3e8a551d8b3cef47a96270d402d784a4cda6fb61.zip |
removed old hack to prevent speaking sentence 0
svn-id: r12308
Diffstat (limited to 'queen')
-rw-r--r-- | queen/talk.cpp | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index 2818068a12..393899688a 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -1230,9 +1230,7 @@ TalkSelected *Talk::talkSelected() { } int Talk::splitOption(const char *str, char optionText[5][MAX_STRING_SIZE]) { - // Check to see if option fits on one line, and exit early - if (_vm->resource()->getLanguage() == ENGLISH || _vm->display()->textWidth(str) <= MAX_TEXT_WIDTH) { strcpy(optionText[0], str); @@ -1419,7 +1417,7 @@ int16 Talk::selectSentence() { // Changed zone, change text colors int y; - debug(0, "Changed zone. oldZone = %i, zone = %i", + debug(6, "Changed zone. oldZone = %i, zone = %i", oldZone, zone); if (zone > 0) { @@ -1453,26 +1451,12 @@ int16 Talk::selectSentence() { } else if (mouseButton) { selectedSentence = zone; - break; } } // while() } } - - // XXX Begin debug stuff - // debug(6, "----- Select a sentence of these -----"); - for (i = 1; i <= 4; i++) { - if (_talkString[i][0] != '\0') { - // XXX debug(6, "%i: %s", i, _talkString[i]); - if (!selectedSentence) - selectedSentence = i; - } - } - // XXX End debug stuff - - debug(6, "Selected sentence %i", selectedSentence); arrowBobUp->active = false; |