]> granicus.if.org Git - nethack/commitdiff
blessed genocide bit
authorcohrs <cohrs>
Wed, 12 Mar 2003 07:26:13 +0000 (07:26 +0000)
committercohrs <cohrs>
Wed, 12 Mar 2003 07:26:13 +0000 (07:26 +0000)
A suggestion to the mailing list.  If the response is more than a single
letter and doesn't match any class description, don't say "symbol" in the
followup message.  I left "symbol" in if the response in a single
character, I thought it was more helpful.

src/read.c

index 2e087c0b9dd0f1baad86615669dd3ea2604a308d..b14ccad82a15201cebedd3edf798fdc98a03ebdb 100644 (file)
@@ -1499,7 +1499,8 @@ do_class_genocide()
                            return;
                        } else
 #endif
-       pline("That symbol does not represent any monster.");
+                           pline("That %s does not represent any monster.",
+                                 strlen(buf) == 1 ? "symbol" : "response");
                        continue;
                }