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
1 changed files with 4 additions and 0 deletions

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) {