From 39a9833f78a95653936a24d466566ad837f399a7 Mon Sep 17 00:00:00 2001 From: PatR Date: Tue, 12 Dec 2023 15:49:04 -0800 Subject: [PATCH] castle drawbridge tune management During drawbridge destruction, only mark the castle's tune as no longer useful when it is the castle's drawbridge that is being destroyed. --- src/dbridge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dbridge.c b/src/dbridge.c index e1df7429a..97a1c7316 100644 --- a/src/dbridge.c +++ b/src/dbridge.c @@ -988,7 +988,8 @@ destroy_drawbridge(coordxy x, coordxy y) } } nokiller(); - u.uevent.uheard_tune = 3; /* bridge is gone so tune is useless */ + if (Is_stronghold(&u.uz)) + u.uevent.uheard_tune = 3; /* bridge is gone so tune is now useless */ } /*dbridge.c*/