From 78b8dd1329ea3b76d355fe3bbabec92761b9ef1b Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 1 Aug 2026 12:13:10 +0200 Subject: [PATCH] los:: disabled playSeenSound if cannot currently see the enemy --- sound.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sound.cpp b/sound.cpp index 6c34553b..70732c0d 100644 --- a/sound.cpp +++ b/sound.cpp @@ -40,6 +40,7 @@ EX void playSeenSound(cell *c) { bool nearme = c->cpdist <= 7; forCellEx(c2, c) if(c2->cpdist <= 7) nearme = true; if(!nearme) return; + if(!in_line_of_sight(c)) return; if(among(c->monst, moEagle, moWindCrow, moAcidBird)) playSound(c, "seen-eagle"); else if(c->monst == moEarthElemental)