Skip to content

Commit

Permalink
Change climbing warning display to properly show color (CleverRaven#6…
Browse files Browse the repository at this point in the history
…8355)

* Update game.cpp

* Add new line
  • Loading branch information
wrnode authored Sep 28, 2023
1 parent 9bace41 commit d48717d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13374,7 +13374,7 @@ void game::climb_down_using( const tripoint &examp, climbing_aid_id aid_id, bool
} else if( damage_estimate >= 5 ) {
hint_fall_damage = _( "Falling <color_red>would hurt</color>." );
} else {
hint_fall_damage = _( "Falling <color_green>wouldn't hurt much<color>." );
hint_fall_damage = _( "Falling <color_green>wouldn't hurt much</color>." );
}
query += "\n";
query += hint_fall_damage;
Expand Down Expand Up @@ -13413,7 +13413,7 @@ void game::climb_down_using( const tripoint &examp, climbing_aid_id aid_id, bool
if( !aid.down.confirm_text.empty() ) {
query_prompt = aid.down.confirm_text.translated();
}
query += "\n";
query += "\n\n";
query += query_prompt;

add_msg_debug( debugmode::DF_GAME, "Generated climb_down prompt for the player." );
Expand Down

0 comments on commit d48717d

Please sign in to comment.