From a79c442469b694190bd59d6871a45480762343fc Mon Sep 17 00:00:00 2001 From: Jesse Ruderman Date: Mon, 5 Jul 2021 03:12:56 -0700 Subject: [PATCH] Fix 'nowhere to blow' message for happy dice --- orbs.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/orbs.cpp b/orbs.cpp index c1f60d3e..d6a85916 100644 --- a/orbs.cpp +++ b/orbs.cpp @@ -1481,9 +1481,12 @@ EX eItem targetRangedOrb(cell *c, orbAction a) { if(isWeakCheck(a)) return itNone; - if(nowhereToBlow) { + if(nowhereToBlow && isBlowableMonster(c->monst)) { addMessage(XLAT("Nowhere to blow %the1!", c->monst)); } + else if(nowhereToBlow) { + addMessage(XLAT("Nowhere to blow %the1!", c->wall)); + } else if(jumpstate == 1 && jumpthru && jumpthru->monst) { addMessage(XLAT("Cannot jump through %the1!", jumpthru->monst)); }