diff --git a/src/ReceiveCommands.cc b/src/ReceiveCommands.cc index 63784faa..1458477c 100644 --- a/src/ReceiveCommands.cc +++ b/src/ReceiveCommands.cc @@ -593,15 +593,15 @@ void process_menu_item_info_request(shared_ptr s, shared_ptrquest_index) { - send_quest_info(c, u"$C6Quests are not available."); + send_quest_info(c, u"$C6Quests are not available.", !c->lobby_id); break; } auto q = s->quest_index->get(c->version, cmd.item_id); if (!q) { - send_quest_info(c, u"$C6Quest does not exist."); + send_quest_info(c, u"$C6Quest does not exist.", !c->lobby_id); break; } - send_quest_info(c, q->long_description.c_str()); + send_quest_info(c, q->long_description.c_str(), !c->lobby_id); break; } diff --git a/src/SendCommands.cc b/src/SendCommands.cc index d7326c6a..a411dd72 100644 --- a/src/SendCommands.cc +++ b/src/SendCommands.cc @@ -494,8 +494,9 @@ void send_lobby_name(shared_ptr c, const u16string& text) { send_text(c, 0x8A, text); } -void send_quest_info(shared_ptr c, const u16string& text) { - send_text(c, 0xA3, text); +void send_quest_info(shared_ptr c, const u16string& text, + bool is_download_quest) { + send_text(c, is_download_quest ? 0xA5 : 0xA3, text); } void send_lobby_message_box(shared_ptr c, const u16string& text) { diff --git a/src/SendCommands.hh b/src/SendCommands.hh index 4212f673..0367708a 100644 --- a/src/SendCommands.hh +++ b/src/SendCommands.hh @@ -121,7 +121,8 @@ void send_enter_directory_patch(std::shared_ptr c, const std::string& di void send_message_box(std::shared_ptr c, const std::u16string& text); void send_lobby_name(std::shared_ptr c, const std::u16string& text); -void send_quest_info(std::shared_ptr c, const std::u16string& text); +void send_quest_info(std::shared_ptr c, const std::u16string& text, + bool is_download_quest); void send_lobby_message_box(std::shared_ptr c, const std::u16string& text); void send_ship_info(std::shared_ptr c, const std::u16string& text); void send_text_message(std::shared_ptr c, const std::u16string& text);