From a713033c523043337f6c801d0e88b90c54c84da9 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Mon, 18 Nov 2024 04:57:51 +0000 Subject: [PATCH] =?UTF-8?q?We=20don=E2=80=99t=20need=20to=20read=20monster?= =?UTF-8?q?=20vision=20range=20anymore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/creature.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/creature.cpp b/src/creature.cpp index f1906fa08f894..b0c51666fdc2d 100644 --- a/src/creature.cpp +++ b/src/creature.cpp @@ -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 );