From 85e08c4034f2c6590e5991c4b6a26abb18e967a4 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 25 Nov 2023 21:14:22 -0500 Subject: [PATCH] splash --- src/dothrow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dothrow.c b/src/dothrow.c index e0a2cc6d0..1ca322c2e 100644 --- a/src/dothrow.c +++ b/src/dothrow.c @@ -1750,8 +1750,10 @@ throwit(struct obj *obj, if (!Deaf && !Underwater) { /* Some sound effects when item lands in water or lava */ if (is_pool(gb.bhitpos.x, gb.bhitpos.y) - || (is_lava(gb.bhitpos.x, gb.bhitpos.y) && !is_flammable(obj))) + || (is_lava(gb.bhitpos.x, gb.bhitpos.y) && !is_flammable(obj))) { + Soundeffect(se_splash, 50); pline((weight(obj) > 9) ? "Splash!" : "Plop!"); + } } if (flooreffects(obj, gb.bhitpos.x, gb.bhitpos.y, "fall")) { clear_thrownobj = TRUE;