Use IS_WATERWALL and is_waterwall

This commit is contained in:
Pasi Kallinen
2022-02-23 12:53:09 +02:00
parent 362cb4a317
commit 5786ddadbb
15 changed files with 32 additions and 22 deletions
+1 -1
View File
@@ -510,7 +510,7 @@ waterbody_name(xchar x, xchar y)
} else {
return "moat";
}
} else if (ltyp == WATER) {
} else if (IS_WATERWALL(ltyp)) {
if (Is_waterlevel(&u.uz))
return "limitless water"; /* even if hallucinating */
Snprintf(pooltype, sizeof pooltype, "wall of %s", hliquid("water"));