OSDN Git Service

Reworded English description of the sniper's SP_PIERCE ability.
[hengband/hengband.git] / src / wizard / fixed-artifacts-spoiler.c
index 2c193f2..493c93f 100644 (file)
@@ -70,8 +70,10 @@ void spoiler_outlist(concptr header, concptr *list, char separator)
  */
 static void print_header(void)
 {
-    char buf[80];
-    sprintf(buf, "Artifact Spoilers for Hengband Version %d.%d.%d", FAKE_VER_MAJOR - 10, FAKE_VER_MINOR, FAKE_VER_PATCH);
+    char buf[180];
+    char title[180];
+    put_version(title);
+    sprintf(buf, "Artifact Spoilers for Hengband Version %s", title);
     spoiler_underline(buf);
 }
 
@@ -82,7 +84,7 @@ static void print_header(void)
  * @param name1 生成するアーティファクトID
  * @return 生成が成功した場合TRUEを返す
  */
-static bool make_fake_artifact(player_type *player_ptr, object_type *o_ptr, IDX name1)
+static bool make_fake_artifact(player_type *player_ptr, object_type *o_ptr, ARTIFACT_IDX name1)
 {
     artifact_type *a_ptr = &a_info[name1];
     if (!a_ptr->name)
@@ -186,4 +188,4 @@ void spoil_fixed_artifact(player_type *player_ptr, concptr fname)
     }
 
     msg_print("Successfully created a spoiler file.");
-}
+}
\ No newline at end of file