trees etc are now mentioned as blockers in YASC messages

This commit is contained in:
Zeno Rogue 2024-03-19 18:39:09 +01:00
parent ef936d7b0e
commit c230e03a0a
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ bool pcmove::swing() {
mirror::act(origd, mirror::SPINMULTI | mirror::ATTACK);
if(monstersnear_add_pmi(movei(cwt.at, STAY))) {
if(vmsg_threat())
if(nextmovetype == lmAttack ? vmsg(miWALL, siWALL, mi.t, who_kills_me) : vmsg_threat())
wouldkill("You would be killed by %the1!");
return false;
}