more Soundeffects tinkering

This commit is contained in:
nhmall
2023-01-27 23:41:54 -05:00
parent 90895330c5
commit 5b3a8b5774
5 changed files with 30 additions and 11 deletions

View File

@@ -3852,6 +3852,7 @@ boomhit(struct obj *obj, coordxy dx, coordxy dy)
tmp_at(gb.bhitpos.x, gb.bhitpos.y);
delay_output();
if (IS_SINK(levl[gb.bhitpos.x][gb.bhitpos.y].typ)) {
Soundeffect(se_boomerang_klonk, 75);
if (!Deaf)
pline("Klonk!");
wake_nearto(gb.bhitpos.x, gb.bhitpos.y, 20);