diff options
Diffstat (limited to 'queen/logic.cpp')
-rw-r--r-- | queen/logic.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index ff5dd7a875..ecb05f7530 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -1196,10 +1196,11 @@ void Logic::handlePinnacleRoom() { _vm->update(); _vm->display()->palFadeIn(0, 223, ROOM_JUNGLE_PINNACLE, joe->active, joe->x, joe->y); - _vm->display()->textCurrentColor(INK_PINNACLE_ROOM); _entryObj = 0; uint16 prevObj = 0; + CmdText cmdText((_vm->resource()->getLanguage() == HEBREW), 5, _vm); + cmdText.setVerb(VERB_WALK_TO); while (_vm->input()->mouseButton() == 0 || _entryObj == 0) { _vm->update(); @@ -1222,9 +1223,7 @@ void Logic::handlePinnacleRoom() { ObjectData *objData = objectData(curObj); if (objData->name > 0) { _entryObj = objData->entryObj; - char textCmd[CmdText::MAX_COMMAND_LEN]; - sprintf(textCmd, "%s %s", verbName(VERB_WALK_TO), objectName(objData->name)); - _vm->display()->setTextCentered(5, textCmd); + cmdText.displayTemp(INK_PINNACLE_ROOM, objectName(objData->name), true); } prevObj = curObj; } |