Skip to content

Commit

Permalink
adjust the way current hair is displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
furran committed Dec 6, 2023
1 parent faf0601 commit 85fc289
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/mutation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2364,12 +2364,11 @@ void Character::customize_appearance( customize_appearance_choice choice )
char_has_trait = true;
}

const std::string &entry_name = mutation_name( trait );
const std::string has_it = char_has_trait ? " *" : "";

amenu.addentry(
i, true, MENU_AUTOASSIGN,
char_has_trait ? entry_name + " *" : entry_name
);
trait->variants.empty() ? mutation_name( trait ) + has_it : trait->name() + has_it );
}
};

Expand Down

0 comments on commit 85fc289

Please sign in to comment.