Skip to content

Commit

Permalink
Update src/math_parser_diag.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
b3brodie and github-actions[bot] authored Dec 14, 2024
1 parent 8298ccb commit 5203925
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/math_parser_diag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,8 @@ diag_eval_dbl_f spell_exp_for_level_eval( char /* scope */,
return[sid = params[0], level = params[1]]( const_dialogue const & d ) -> double {
std::string sid_str = sid.str( d );
spell_id spell( sid_str );
if( spell.is_valid() ) {
if( spell.is_valid() )
{
return spell->exp_for_level( level.dbl( d ) );
}

Expand Down

0 comments on commit 5203925

Please sign in to comment.