From: Pasi Kallinen Date: Thu, 6 Oct 2016 10:33:54 +0000 (+0300) Subject: Iron bars, water and lava are not interesting for travel X-Git-Tag: NetHack-3.6.1_RC01~587 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb148c0d443a67c86fa7a4701d06ed7deb18a7ae;p=nethack Iron bars, water and lava are not interesting for travel --- diff --git a/src/do_name.c b/src/do_name.c index 9560071a0..e55caf1d3 100644 --- a/src/do_name.c +++ b/src/do_name.c @@ -239,10 +239,13 @@ int x,y, gloc; || !(glyph_is_cmap(glyph) && (is_cmap_wall(glyph_to_cmap(glyph)) || glyph_to_cmap(glyph) == S_tree + || glyph_to_cmap(glyph) == S_bars || glyph_to_cmap(glyph) == S_ice || glyph_to_cmap(glyph) == S_air || glyph_to_cmap(glyph) == S_cloud - || (glyph_to_cmap(glyph) == S_water && Is_waterlevel(&u.uz)) + || glyph_to_cmap(glyph) == S_lava + || glyph_to_cmap(glyph) == S_water + || glyph_to_cmap(glyph) == S_pool || glyph_to_cmap(glyph) == S_ndoor || glyph_to_cmap(glyph) == S_room || glyph_to_cmap(glyph) == S_darkroom