OSDN Git Service

update year to 2023
[jnethack/source.git] / src / wield.c
index 32b62f4..d45ed86 100644 (file)
@@ -5,7 +5,7 @@
 
 /* JNetHack Copyright */
 /* (c) Issei Numata, Naoki Hamada, Shigehiro Miyashita, 1994-2000  */
-/* For 3.4-, Copyright (c) SHIRAKATA Kentaro, 2002-2021            */
+/* For 3.4-, Copyright (c) SHIRAKATA Kentaro, 2002-2023            */
 /* JNetHack may be freely redistributed.  See license for details. */
 
 #include "hack.h"
@@ -916,7 +916,11 @@ chwepon(otmp, amount)
 register struct obj *otmp;
 register int amount;
 {
+#if 0 /*JP*/
+    const char *color = hcolor((amount < 0) ? NH_BLACK : NH_BLUE);
+#else
     const char *color = hcolor_adv((amount < 0) ? NH_BLACK : NH_BLUE);
+#endif
     const char *xtime, *wepname = "";
     boolean multiple;
     int otyp = STRANGE_OBJECT;