1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

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

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