From 346cd9e35b13c8bc257a9eca42331df9505d009a Mon Sep 17 00:00:00 2001 From: Michael Meyer Date: Mon, 6 Nov 2023 16:32:32 -0500 Subject: [PATCH] Revert part of "Fix: hurtling into wall of water" Turns out this change to more accurately describe the wall of water in a situation that shouldn't come up in-game messed up some uses of dfeature_at which do a string comparison between the result and "pool of water" to determine how to behave. --- src/invent.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/invent.c b/src/invent.c index 14f86cea2..35af3bd5c 100644 --- a/src/invent.c +++ b/src/invent.c @@ -4216,8 +4216,6 @@ dfeature_at(coordxy x, coordxy y, char *buf) cmap = S_lava; /* "molten lava" */ else if (is_ice(x, y)) dfeature = ice_descr(x, y, altbuf), cmap = -1; /* "ice" */ - else if (IS_WATERWALL(ltyp)) - dfeature = "wall of water"; else if (is_pool(x, y)) dfeature = "pool of water"; else if (IS_SINK(ltyp))