1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-02 04:09:16 +00:00

spawn sounds are not played for monsters entering vision

This commit is contained in:
Zeno Rogue 2021-04-25 11:45:58 +02:00
parent 0add1e5c0d
commit 987b1a88da

View File

@ -326,6 +326,10 @@ EX void moveMonster(const movei& mi) {
attackMonster(ct, AF_SWORD_INTO | AF_MSG, moPlayer);
achievement_gain_once("GOSWORD");
}
if(ct->mpdist == 7 && cf->mpdist > 7) {
playSeenSound(ct);
}
}
EX bool cannotGo(eMonster m, cell *c) {