]> granicus.if.org Git - nethack/commitdiff
getpos of doors
authorPatR <rankin@nethack.org>
Fri, 27 May 2016 23:10:03 +0000 (16:10 -0700)
committerPatR <rankin@nethack.org>
Fri, 27 May 2016 23:10:03 +0000 (16:10 -0700)
Using 'd' to cycle through door locations is worthwhile when #terrain
is executing as well as when picking a location.

src/do_name.c

index 179e0b53fecea94613c8be4310aa329390d85195..4c29ec291f32f87d3ef2cb2bc9ee824c784922ed 100644 (file)
@@ -63,8 +63,9 @@ const char *goal;
         putstr(tmpwin, 0, "Use m or M to move the cursor to next monster.");
     if (!iflags.terrainmode || (iflags.terrainmode & TER_OBJ) != 0)
         putstr(tmpwin, 0, "Use o or O to move the cursor to next object.");
+    putstr(tmpwin, 0, /* d,D are useful regardless of terrainmode */
+           "Use d or D to move the cursor to next door or doorway.");
     if (!iflags.terrainmode) {
-        putstr(tmpwin, 0, "Use d or D to move the cursor to next door or doorway.");
         if (getpos_hilitefunc)
             putstr(tmpwin, 0, "Use $ to display valid locations.");
         putstr(tmpwin, 0, "Use # to toggle automatic description.");