OSDN Git Service

カオスの塔の突然変異治療サービスで必ず1個変異が治るようにした。
authoriks <iks@0568b783-4c39-0410-ac80-bf13821ea2a2>
Thu, 3 Apr 2003 08:47:31 +0000 (08:47 +0000)
committeriks <iks@0568b783-4c39-0410-ac80-bf13821ea2a2>
Thu, 3 Apr 2003 08:47:31 +0000 (08:47 +0000)
src/bldg.c

index 8ef7db8..8937a79 100644 (file)
@@ -4708,16 +4708,20 @@ msg_print("
                break;
        }
        case BACT_LOSE_MUTATION:
-               paid = lose_mutation(0);
-               /* ToDo: Better message text. */
-               if (!paid)
+               if (p_ptr->muta1 || p_ptr->muta2 || p_ptr->muta3)
+               {
+                       while(!lose_mutation(0));
+                       paid = TRUE;
+               }
+               else
+               {
 #ifdef JP
-                       msg_print("´ñ̯¤Ê¤¯¤é¤¤ÉáÄ̤ˤʤ俵¤¤¬¤¹¤ë¡£");
+                       msg_print("¼£¤¹¤Ù¤­ÆÍÁ³ÊÑ°Û¤¬Ìµ¤¤¡£");
 #else
-               msg_print("You feel oddly normal.");
+                       msg_print("You have no mutations.");
 #endif
-
-
+                       msg_print(NULL);
+               }
                break;
        case BACT_BATTLE:
                kakutoujou();