diff options
Diffstat (limited to 'engines/supernova/rooms.cpp')
-rw-r--r-- | engines/supernova/rooms.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/supernova/rooms.cpp b/engines/supernova/rooms.cpp index 6afae1314b..2349fc84e6 100644 --- a/engines/supernova/rooms.cpp +++ b/engines/supernova/rooms.cpp @@ -2565,10 +2565,13 @@ bool AxacussCorridor5::handleMoneyDialog() { removeSentence(2, 2); removeSentence(3, 2); } else { - _varTexts3[2] = Common::String::format("%d", _gm->_state._money - 200); - _varTexts3[3] = Common::String::format("%d", _gm->_state._money); + Common::String string = _vm->getGameString(kStringDialogAxacussCorridor5_7); + _vm->setGameString(kStringPlaceholder1, Common::String::format(string.c_str(), _gm->_state._money - 200)); + _vm->setGameString(kStringPlaceholder2, Common::String::format(string.c_str(), _gm->_state._money)); + _dialog3[2] = kStringPlaceholder1; + _dialog3[3] = kStringPlaceholder2; } - switch (_gm->dialog(4, _rows, _dialog3, 2, _varTexts3)) { + switch (_gm->dialog(4, _rows, _dialog3, 2)) { case 1: _gm->wait2(3); _vm->renderImage(1); |