From 74c356298e4f5d735a92771c43dbb385c1b0e5d0 Mon Sep 17 00:00:00 2001 From: Erik Lunna Date: Tue, 31 Oct 2023 16:00:56 +0100 Subject: [PATCH] Shields can be dipped into fountains/toilets to test for properties. --- src/artifact.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/artifact.c b/src/artifact.c index 6d119bfaa..3b97e1910 100644 --- a/src/artifact.c +++ b/src/artifact.c @@ -4138,8 +4138,9 @@ struct obj *obj; { int ad_type = 0, oprops; - /* Only weapons work this way ("attacking" the water) */ - if (!((obj->oclass == WEAPON_CLASS) || is_weptool(obj))) + /* Only weapons/shields work this way ("attacking" the water) */ + if (!((obj->oclass == WEAPON_CLASS) || is_weptool(obj) + || is_shield(obj))) return FALSE; if (obj->oartifact)