OSDN Git Service

fix #40957
authorSHIRAKATA Kentaro <argrath@ub32.org>
Thu, 10 Dec 2020 17:39:17 +0000 (02:39 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Sun, 13 Dec 2020 16:24:06 +0000 (01:24 +0900)
ChangeLog.j
src/sounds.c

index 77e2b29..00d6217 100644 (file)
@@ -3,6 +3,7 @@
          * \88ê\95\94\82Ì\83I\83v\83V\83\87\83\93\82Å\89p\8cê\82Ì\83t\83\8b\83l\81[\83\80\82ð\8eg\82¦\82È\82¢ (#40657)
          * X11\94Å\82Åascii_map\82ª\90³\82µ\82­\95\\8e¦\82³\82ê\82È\82¢ (#40530)
          * X11\82Åascii_map\95\\8e¦\82·\82é\82Æ\83\8a\83\\81[\83X\83G\83\89\81[\82ª\94­\90\82·\82é (#40803)
+         * \93¯\82\8aK\82É\8e\9b\89@\82ª\82 \82é\82Æ\82«\82Ì\83\81\83b\83Z\81[\83W\82ª\95\8e\9a\89»\82¯ (#40957)
        * X11LARGETILE\82ð\8dí\8f\9c(#40681)
        * JNetHack.ad\82ð\8dÅ\90V\82É\8dX\90V(#40531)
 
index d77e4d5..32a43ba 100644 (file)
@@ -365,7 +365,11 @@ dosounds()
                     continue;
                 break; /* msg is acceptable */
             } while (++trycount < 50);
+#if 0 /*JP*/
             while (!letter(*msg))
+#else
+            while (*msg == '*' || *msg == '#')
+#endif
                 ++msg; /* skip control flags */
             if (index(msg, '%'))
                 You_hear(msg, halu_gname(EPRI(mtmp)->shralign));