From fb148c0d443a67c86fa7a4701d06ed7deb18a7ae Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 6 Oct 2016 13:33:54 +0300 Subject: [PATCH] Iron bars, water and lava are not interesting for travel --- src/do_name.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/do_name.c b/src/do_name.c index 9560071a..e55caf1d 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 -- 2.11.4.GIT