diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 8b31320bc..5403d3ea1 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -776,6 +776,7 @@ add unique Rider revival messages don't dereference NULL u.ustuck in dobuzz() when hero has been swallowed monsters should growl even if you can't hear it give a sound effect message when thrown item lands in water or lava +don't show rusting of items that land in water Fixes to 3.7.0-x Problems that Were Exposed Via git Repository diff --git a/src/trap.c b/src/trap.c index 9b0b2025d..720fef778 100644 --- a/src/trap.c +++ b/src/trap.c @@ -182,7 +182,9 @@ erode_obj( uvictim = (victim == &g.youmonst); vismon = victim && (victim != &g.youmonst) && canseemon(victim); /* Is g.bhitpos correct here? Ugh. */ - visobj = !victim && cansee(g.bhitpos.x, g.bhitpos.y); + visobj = !victim && cansee(g.bhitpos.x, g.bhitpos.y) + && (!is_pool(g.bhitpos.x, g.bhitpos.y) + || (u.ux == g.bhitpos.x && u.uy == g.bhitpos.y && Underwater)); switch (type) { case ERODE_BURN: