mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 12:19:18 +00:00
spawn sounds are not played for monsters entering vision
This commit is contained in:
parent
0add1e5c0d
commit
987b1a88da
@ -326,6 +326,10 @@ EX void moveMonster(const movei& mi) {
|
|||||||
attackMonster(ct, AF_SWORD_INTO | AF_MSG, moPlayer);
|
attackMonster(ct, AF_SWORD_INTO | AF_MSG, moPlayer);
|
||||||
achievement_gain_once("GOSWORD");
|
achievement_gain_once("GOSWORD");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(ct->mpdist == 7 && cf->mpdist > 7) {
|
||||||
|
playSeenSound(ct);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
EX bool cannotGo(eMonster m, cell *c) {
|
EX bool cannotGo(eMonster m, cell *c) {
|
||||||
|
Loading…
Reference in New Issue
Block a user