OSDN Git Service

[Refactor] #37353 型の置換。 / Type replacement. (BASE_STATUS / A_MAX)
[hengband/hengband.git] / src / rooms-special.c
index eb669e9..62b16d5 100644 (file)
@@ -2,6 +2,7 @@
 #include "grid.h"\r
 #include "generate.h"\r
 #include "rooms.h"\r
+#include "monster.h"\r
 #include "monsterrace-hook.h"\r
 #include "objectkind-hook.h"\r
 \r
@@ -72,8 +73,6 @@ bool build_type15(void)
        case 1: /* 4 lite breathers + potion */\r
        {\r
                int dir1, dir2;\r
-\r
-               /* Prepare allocation table */\r
                get_mon_num_prep(vault_aux_lite, NULL);\r
 \r
                /* Place fixed lite berathers */\r
@@ -141,8 +140,6 @@ bool build_type15(void)
                c_ptr = &cave[y2 - 1][x2 - 1];\r
                place_inner_grid(c_ptr);\r
                c_ptr->feat = feat_glass_wall;\r
-\r
-               /* Prepare allocation table */\r
                get_mon_num_prep(vault_aux_lite, NULL);\r
 \r
                r_idx = get_mon_num(dun_level);\r
@@ -176,7 +173,7 @@ bool build_type15(void)
 \r
        case 3: /* 4 shards breathers + 2 potions */\r
        {\r
-               int dir1;\r
+               DIRECTION dir1;\r
 \r
                /* Walls around the potion */\r
                for (y = yval - 2; y <= yval + 2; y++)\r
@@ -203,8 +200,6 @@ bool build_type15(void)
                        place_inner_grid(c_ptr);\r
                        c_ptr->feat = feat_glass_wall;\r
                }\r
-\r
-               /* Prepare allocation table */\r
                get_mon_num_prep(vault_aux_shards, NULL);\r
 \r
                /* Place shard berathers */\r