From d7c042eb80cd5dc47c25923b754c7b595c9ce5d9 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Fri, 2 Nov 2018 20:49:11 +0200 Subject: [PATCH] Make Mjollnir lightning noisy --- doc/fixes36.2 | 1 + src/artifact.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/fixes36.2 b/doc/fixes36.2 index 34e554558..c45ea7d66 100644 --- a/doc/fixes36.2 +++ b/doc/fixes36.2 @@ -180,6 +180,7 @@ death from something other than loss of hit points could leave hero with non-zero HP at end of game (during "really die?" prompt, disclosure) added several special cases for genocide and/or wishing prompt: (cookie, pie, genie, watchmen) +lightning strike from Mjollnir did not make any noise Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository diff --git a/src/artifact.c b/src/artifact.c index 2ef7dfa7c..87cbf3b61 100644 --- a/src/artifact.c +++ b/src/artifact.c @@ -1215,6 +1215,8 @@ int dieroll; /* needed for Magicbane and vorpal blades */ pline_The("massive hammer hits%s %s%c", !spec_dbon_applies ? "" : "! Lightning strikes", hittee, !spec_dbon_applies ? '.' : '!'); + if (spec_dbon_applies) + wake_nearto(mdef->mx, mdef->my, 4 * 4); if (!rn2(5)) (void) destroy_mitem(mdef, RING_CLASS, AD_ELEC); if (!rn2(5)) -- 2.40.0