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.
This commit is contained in:
PatR
2023-12-12 15:49:04 -08:00
parent b58d89dbcb
commit 39a9833f78

View File

@@ -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*/