Woods+Time: do not waste charge on attacking monsters in trees

This commit is contained in:
Zeno Rogue 2022-06-17 09:13:46 +02:00
parent 80e5a9d50e
commit a87ef1b02c
1 changed files with 1 additions and 1 deletions

View File

@ -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;