Skip to content

Commit

Permalink
We don’t need to read monster vision range anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Standing-Storm authored Nov 18, 2024
1 parent 0476042 commit a713033
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/creature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,6 @@ bool Creature::sees( const Creature &critter ) const
}

if( this->has_flag( mon_flag_MIND_SEEING ) && seen_by_mindseers ) {
const monster *m = this->as_monster();
int mindsight_bonus_range = ( has_effect( effect_eff_mind_seeing_bonus_5 ) * 5 ) + ( has_effect(
effect_eff_mind_seeing_bonus_10 ) * 10 ) + ( has_effect( effect_eff_mind_seeing_bonus_20 ) * 20 )
+ ( has_effect( effect_eff_mind_seeing_bonus_30 ) * 30 );
Expand Down

0 comments on commit a713033

Please sign in to comment.