OSDN Git Service

fix #36910
authorSHIRAKATA Kentaro <argrath@ub32.org>
Fri, 20 Jan 2017 15:41:36 +0000 (00:41 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Fri, 20 Jan 2017 15:42:30 +0000 (00:42 +0900)
ChangeLog.j
src/priest.c

index e8cceab..1bf65b3 100644 (file)
@@ -1,4 +1,5 @@
        * \89æ\96Ê\8fã\82Ì\89ö\95¨\82ð/\83R\83}\83\93\83h\82Å\8c©\82½\8dÛ\82É\95\8e\9a\89»\82¯\82·\82é\96â\91è\82ð\8fC\90³ (#36909)
+       * NPC\82Ì\91m\97µ/\93ò\91m/\96@\89¤\82ª\90_\82Ì\96¼\82ð\8a¥\82µ\82Ä\82¢\82È\82¢\96â\91è\82ð\8fC\90³ (#36910)
        * \83E\83B\83U\81[\83h\83\82\81[\83h\82Å\83C\83F\83\93\83_\81[\82Ì\96\82\8f\9c\82¯\82ª\8aè\82¦\82È\82¢\96â\91è\82ð\8fC\90³ (#36939)
 
 Wed Dec  7 2016  Kentaro Shirakata  <argrath@ub32.org>
index b6db11a..b58f1a1 100644 (file)
@@ -331,6 +331,13 @@ char *pname; /* caller-supplied output buffer */
 */
         Strcat(pname, "\97 \90Ø\82è\8eÒ\82Ì");
 
+#if 1 /*JP*//*\91®\90«\82Í\82±\82±\82Å\95t\82¯\82é*/
+    if (do_hallu || !high_priest || !Is_astralevel(&u.uz)
+        || distu(mon->mx, mon->my) <= 2 || program_state.gameover) {
+        Strcat(pname, halu_gname(mon_aligntyp(mon)));
+        Strcat(pname, "\82Ì");
+    }
+#endif
     if (mon->ispriest || aligned_priest) { /* high_priest implies ispriest */
         if (!aligned_priest && !high_priest) {
             ; /* polymorphed priest; use ``what'' as is */
@@ -375,14 +382,14 @@ char *pname; /* caller-supplied output buffer */
     }
 
     Strcat(pname, what);
+#if 0 /*JP*//*\91®\90«\82Í\82·\82Å\82É\95t\82¯\82Ä\82¢\82é*/
     /* same as distant_monnam(), more or less... */
     if (do_hallu || !high_priest || !Is_astralevel(&u.uz)
         || distu(mon->mx, mon->my) <= 2 || program_state.gameover) {
-#if 0 /*JP*/
         Strcat(pname, " of ");
         Strcat(pname, halu_gname(mon_aligntyp(mon)));
-#endif
     }
+#endif
     return pname;
 }