Skip to content

Commit

Permalink
Addressed complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikLundell committed Nov 8, 2024
1 parent 5a9e687 commit 9b3cbab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/newcharacter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2375,7 +2375,7 @@ static std::string assemble_profession_details( const avatar &u, const input_con
// Profession spells
if( !sorted_profs[cur_id]->spells().empty() ) {
assembled += "\n" + colorize( _( "Profession spells:" ), COL_HEADER ) + "\n";
for( const std::pair<spell_id, int> &spell_pair : sorted_profs[cur_id]->spells() ) {
for( const std::pair<const spell_id, int> &spell_pair : sorted_profs[cur_id]->spells() ) {
assembled += string_format( _( "%s level %d" ), spell_pair.first->name, spell_pair.second ) + "\n";
}
}
Expand Down

0 comments on commit 9b3cbab

Please sign in to comment.