Skip to content

Commit

Permalink
clang fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
b3brodie committed Dec 15, 2024
1 parent f115a2c commit a1f7381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/magic_enchantment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ bool enchantment::is_monster_relevant() const
}

// check for hit you / me effects
if( hit_you_effect.size() > 0 || hit_me_effect.size() > 0 ) {
if( !hit_you_effect.empty() || !hit_me_effect.empty() ) {
return true;
}

Expand Down

0 comments on commit a1f7381

Please sign in to comment.