]> granicus.if.org Git - nethack/commitdiff
#H226: Poor grammar when engraving under water
authornethack.allison <nethack.allison>
Sun, 10 Sep 2006 14:20:31 +0000 (14:20 +0000)
committernethack.allison <nethack.allison>
Sun, 10 Sep 2006 14:20:31 +0000 (14:20 +0000)
doc/fixes34.4
src/engrave.c

index fb5b3d6a2621c5f55e82227e443917a8c42dda9a..59d58ff68da795688648fcb1c1c8789a05e6a750 100644 (file)
@@ -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
index fe946590f2919d326a5c22c34aeadfc3ff2eef15..aec61a7d0779ea6a9c223c49de3388e468145c28 100644 (file)
@@ -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 */) {