#H226: Poor grammar when engraving under water

This commit is contained in:
nethack.allison
2006-09-10 14:20:31 +00:00
parent ea80f61b6f
commit 80a5f0d4dd
2 changed files with 3 additions and 2 deletions

View 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

View 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 */) {