Permalink
Browse files

Bionic Power - rename and colorize (player.cpp)

  • Loading branch information...
Pupsi-Mupsi committed Jan 3, 2019
1 parent 5ca766e commit 408cec147394ab4a36fdb52a92502023a59c1012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/player.cpp
@@ -2244,7 +2244,7 @@ void player::memorial( std::ostream &memorial_file, const std::string &epitaph )
} else {
memorial_file << string_format( _( "Total bionics: %d" ), total_bionics ) << eol;
}
memorial_file << string_format( _( "Power: %d/%d" ), power_level, max_power_level ) << eol;
memorial_file << string_format( _( "Bionic Power: <color_light_blue>%d</color>/<color_light_blue>%d</color>" ), power_level, max_power_level ) << eol;
memorial_file << eol;

//Equipment
@@ -8923,7 +8923,7 @@ bool player::gunmod_remove( item &gun, item& mod )
if( the_mod->type->gunmod->location == slot.first && free_slots < 0 ) {
gunmod_remove( gun, *the_mod );
free_slots++;
} else if( mod_locations.find( the_mod->type->gunmod->location ) ==
} else if( mod_locations.find( the_mod->type->gunmod->location ) ==
mod_locations.end() ) {
gunmod_remove( gun, *the_mod );
}

0 comments on commit 408cec1

Please sign in to comment.