From a87ef1b02c4c8f40fcca716a5b454fbe6ad6eb54 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 17 Jun 2022 09:13:46 +0200 Subject: [PATCH] Woods+Time: do not waste charge on attacking monsters in trees --- pcmove.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcmove.cpp b/pcmove.cpp index 0ac1d956..e715bbd5 100644 --- a/pcmove.cpp +++ b/pcmove.cpp @@ -807,7 +807,7 @@ void pcmove::tell_why_cannot_attack() { bool pcmove::after_escape() { cell*& c2 = mi.t; - bool push_behind = c2->wall == waBigStatue || (among(c2->wall, waCTree, waSmallTree, waBigTree, waShrub, waVinePlant) && markOrb(itOrbWoods)); + bool push_behind = c2->wall == waBigStatue || (among(c2->wall, waCTree, waSmallTree, waBigTree, waShrub, waVinePlant) && !c2->monst && markOrb(itOrbWoods)); if(thruVine(c2, cwt.at) && markOrb(itOrbWoods)) push_behind = true;