Skip to content

Commit

Permalink
Hide appendix from the player (#40027)
Browse files Browse the repository at this point in the history
  • Loading branch information
Demoragon authored Apr 30, 2020
1 parent 161371e commit 3a674dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6640,6 +6640,10 @@ std::string Character::extended_description() const
// This is a stripped-down version of the body_window function
// This should be extracted into a separate function later on
for( const bodypart_id bp : bps ) {
// Hide appendix from the player
if( bp->id == "num_bp" ) {
continue;
}
const std::string &bp_heading = body_part_name_as_heading( bp->token, 1 );
hp_part hp = bp_to_hp( bp->token );

Expand Down

0 comments on commit 3a674dd

Please sign in to comment.