diff options
-rw-r--r-- | engines/avalanche/acci2.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/avalanche/acci2.cpp b/engines/avalanche/acci2.cpp index c31bc90aac..95cd06a2b4 100644 --- a/engines/avalanche/acci2.cpp +++ b/engines/avalanche/acci2.cpp @@ -1534,8 +1534,11 @@ void Acci::doThat() { case kVerbCodeQuit: // quit if (!_polite) _vm->_scrolls->displayText("How about a `please\", Avvy?"); - else if (_vm->_scrolls->displayQuestion(Common::String(Scrolls::kControlRegister) + 'C' + Scrolls::kControlIcon + "Do you really want to quit?")) - _vm->_gyro->_letMeOut = true; + else { + Common::String tmpStr = Common::String::format("%cC%cDo you really want to quit?", Scrolls::kControlRegister, Scrolls::kControlIcon); + if (_vm->_scrolls->displayQuestion(tmpStr)) + _vm->_gyro->_letMeOut = true; + } break; case kVerbCodeGo: _vm->_scrolls->displayText("Just use the arrow keys to walk there."); |