put an extra \n in choice search result text
This commit is contained in:
@@ -224,8 +224,7 @@ void PlayerState::apply_assist_card_effect_on_set(
|
|||||||
|
|
||||||
size_t log_index;
|
size_t log_index;
|
||||||
for (log_index = 0; log_index < 0x10; log_index++) {
|
for (log_index = 0; log_index < 0x10; log_index++) {
|
||||||
auto ce = s->definition_for_card_ref(
|
auto ce = s->definition_for_card_ref(this->discard_log_card_refs[log_index]);
|
||||||
this->discard_log_card_refs[log_index]);
|
|
||||||
if (ce && ((ce->def.type == CardType::ITEM || ce->def.type == CardType::CREATURE))) {
|
if (ce && ((ce->def.type == CardType::ITEM || ce->def.type == CardType::CREATURE))) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3859,7 +3859,7 @@ static void on_choice_search_t(shared_ptr<Client> c, const ChoiceSearchConfig& c
|
|||||||
auto& result = results.emplace_back();
|
auto& result = results.emplace_back();
|
||||||
result.guild_card_number = lc->license->serial_number;
|
result.guild_card_number = lc->license->serial_number;
|
||||||
result.name.encode(lp->disp.name.decode(lc->language()), c->language());
|
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),
|
name_for_char_class(lp->disp.visual.char_class),
|
||||||
static_cast<size_t>(lp->disp.stats.level + 1),
|
static_cast<size_t>(lp->disp.stats.level + 1),
|
||||||
abbreviation_for_section_id(lp->disp.visual.section_id));
|
abbreviation_for_section_id(lp->disp.visual.section_id));
|
||||||
|
|||||||
Reference in New Issue
Block a user