Skip to content

Commit

Permalink
Update src/magic.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Standing-Storm and github-actions[bot] authored Mar 28, 2024
1 parent f58ba76 commit 26e988e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/magic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2502,7 +2502,7 @@ void spellcasting_callback::spell_info_text( const spell &sp, int width )
} else {
std::string cost_string = cost_encumb ? _( "Casting Cost (impeded)" ) : _( "Casting Cost" );
std::string energy_cur = sp.energy_source() == magic_energy_type::hp ? "" :
string_format( _( " (%s current)" ), sp.energy_cur_string( pc ) );
string_format( _( " (%s current)" ), sp.energy_cur_string( pc ) );
if( !pc.magic->has_enough_energy( pc, sp ) ) {
cost_string = colorize( _( "Not Enough Energy" ), c_red );
energy_cur.clear();
Expand Down

0 comments on commit 26e988e

Please sign in to comment.