OSDN Git Service

fix #38569
authorSHIRAKATA Kentaro <argrath@ub32.org>
Mon, 3 Sep 2018 15:10:23 +0000 (00:10 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Mon, 3 Sep 2018 19:04:04 +0000 (04:04 +0900)
ChangeLog.j
src/dungeon.c

index 98a24f4..962b22e 100644 (file)
@@ -1,3 +1,5 @@
+       * \8e\9f\82Ì\96â\91è\82ð\8fC\90³
+         * #wizwhere\83R\83}\83\93\83h\82Å\83N\83\89\83b\83V\83\85\82·\82é (#38569)
        * \96|\96ó\92Ç\89Á\8fC\90³
 
 Thu Jun 21 2018  Kentaro Shirakata  <argrath@ub32.org>
index ac8a43c..700ede6 100644 (file)
@@ -2039,10 +2039,17 @@ xchar *rdgn;
                     trap->tx, trap->ty, u.ux, u.uy);
 
         /* only report "no portal found" when actually expecting a portal */
+#if 0 /*JP*/
         else if (Is_earthlevel(&u.uz) || Is_waterlevel(&u.uz)
                  || Is_firelevel(&u.uz) || Is_airlevel(&u.uz)
                  || Is_qstart(&u.uz) || at_dgn_entrance("The Quest")
                  || Is_knox(&u.uz))
+#else
+        else if (Is_earthlevel(&u.uz) || Is_waterlevel(&u.uz)
+                 || Is_firelevel(&u.uz) || Is_airlevel(&u.uz)
+                 || Is_qstart(&u.uz) || at_dgn_entrance("\83N\83G\83X\83g")
+                 || Is_knox(&u.uz))
+#endif
             Strcpy(buf, "No portal found.");
 
         /* only give output if we found a portal or expected one and didn't */