put an extra \n in choice search result text

This commit is contained in:
Martin Michelsen
2024-03-23 14:11:33 -07:00
parent 5a1880bd65
commit 53b36d7074
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -224,8 +224,7 @@ void PlayerState::apply_assist_card_effect_on_set(
size_t log_index;
for (log_index = 0; log_index < 0x10; log_index++) {
auto ce = s->definition_for_card_ref(
this->discard_log_card_refs[log_index]);
auto ce = s->definition_for_card_ref(this->discard_log_card_refs[log_index]);
if (ce && ((ce->def.type == CardType::ITEM || ce->def.type == CardType::CREATURE))) {
break;
}
+1 -1
View File
@@ -3859,7 +3859,7 @@ static void on_choice_search_t(shared_ptr<Client> c, const ChoiceSearchConfig& c
auto& result = results.emplace_back();
result.guild_card_number = lc->license->serial_number;
result.name.encode(lp->disp.name.decode(lc->language()), c->language());
string info_string = string_printf("%s Lv%zu %s\n",
string info_string = string_printf("%s Lv%zu\n%s\n",
name_for_char_class(lp->disp.visual.char_class),
static_cast<size_t>(lp->disp.stats.level + 1),
abbreviation_for_section_id(lp->disp.visual.section_id));