diff options
author | Max Horn | 2011-03-21 13:07:23 +0100 |
---|---|---|
committer | Max Horn | 2011-03-21 13:16:35 +0100 |
commit | dd88f39bc7078f96fd06170260bf2ff332b4ca82 (patch) | |
tree | 70a275709fb034bd9efba96bbd1a5dffcc5d4c8e /engines/hugo/parser_v2d.cpp | |
parent | 458ebbafd25d729da88eced603a88af9a05b79b3 (diff) | |
download | scummvm-rg350-dd88f39bc7078f96fd06170260bf2ff332b4ca82.tar.gz scummvm-rg350-dd88f39bc7078f96fd06170260bf2ff332b4ca82.tar.bz2 scummvm-rg350-dd88f39bc7078f96fd06170260bf2ff332b4ca82.zip |
HUGO: Replace Utils::Box by Utils::notifyBox + Common::String::format
Diffstat (limited to 'engines/hugo/parser_v2d.cpp')
-rw-r--r-- | engines/hugo/parser_v2d.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/hugo/parser_v2d.cpp b/engines/hugo/parser_v2d.cpp index 50d2e5f493..d6f2adfedc 100644 --- a/engines/hugo/parser_v2d.cpp +++ b/engines/hugo/parser_v2d.cpp @@ -175,16 +175,16 @@ void Parser_v2d::lineHandler() { && !isCatchallVerb_v1(false, noun, verb, _backgroundObjects[*_vm->_screen_p]) && !isCatchallVerb_v1(false, noun, verb, _catchallList)) { if (*farComment != '\0') { // An object matched but not near enough - Utils::Box(kBoxAny, "%s", farComment); + Utils::notifyBox(farComment); } else if (_vm->_maze.enabledFl && (verb == _vm->_text->getVerb(_vm->_look, 0))) { - Utils::Box(kBoxAny, "%s", _vm->_text->getTextParser(kTBMaze)); + Utils::notifyBox(_vm->_text->getTextParser(kTBMaze)); _vm->_object->showTakeables(); } else if (verb && noun) { // A combination I didn't think of - Utils::Box(kBoxAny, "%s", _vm->_text->getTextParser(kTBNoUse_2d)); + Utils::notifyBox(_vm->_text->getTextParser(kTBNoUse_2d)); } else if (verb || noun) { - Utils::Box(kBoxAny, "%s", _vm->_text->getTextParser(kTBNoun)); + Utils::notifyBox(_vm->_text->getTextParser(kTBNoun)); } else { - Utils::Box(kBoxAny, "%s", _vm->_text->getTextParser(kTBEh_2d)); + Utils::notifyBox(_vm->_text->getTextParser(kTBEh_2d)); } } } |