From: nethack.allison Date: Sun, 10 Sep 2006 14:20:31 +0000 (+0000) Subject: #H226: Poor grammar when engraving under water X-Git-Tag: MOVE2GIT~913 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80a5f0d4ddcc93df40561c51186fb10afc41696a;p=nethack #H226: Poor grammar when engraving under water --- diff --git a/doc/fixes34.4 b/doc/fixes34.4 index fb5b3d6a2..59d58ff68 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -252,6 +252,7 @@ have to see a divine gift in order to have it become a discovery honor the never-in-hell flag when selecting random monster type for corpses, eggs, figurines, and statues created in Gehennom hero is not subject to light-based blindness while fainted from hunger +engraving while underwater should use surface() which handles that case Platform- and/or Interface-Specific Fixes diff --git a/src/engrave.c b/src/engrave.c index fe946590f..aec61a7d0 100644 --- a/src/engrave.c +++ b/src/engrave.c @@ -490,10 +490,10 @@ doengrave() } else jello = TRUE; } else if (is_lava(u.ux, u.uy)) { - You_cant("write on the lava!"); + You_cant("write on the %s!", surface(u.ux, u.uy)); return(0); } else if (is_pool(u.ux,u.uy) || IS_FOUNTAIN(levl[u.ux][u.uy].typ)) { - You_cant("write on the water!"); + You_cant("write on the %s!", surface(u.ux, u.uy)); return(0); } if(Is_airlevel(&u.uz) || Is_waterlevel(&u.uz)/* in bubble */) {