From 97df6818135c8c3d935f752c683e4229dc8d3c52 Mon Sep 17 00:00:00 2001 From: deskull Date: Fri, 31 May 2019 01:08:32 +0900 Subject: [PATCH] =?utf8?q?[Refactor]=20#37353=20MAX=5FKUBI=20=E3=82=92=20b?= =?utf8?q?ldg.h=20=E3=81=B8=E7=A7=BB=E5=8B=95=EF=BC=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/bldg.h | 2 ++ src/defines.h | 1 - src/world.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bldg.h b/src/bldg.h index 14f7a1863..4e2c9c27d 100644 --- a/src/bldg.h +++ b/src/bldg.h @@ -9,6 +9,8 @@ #define BUILDING_MEMBER 1 /*!< 不明(現在未使用) */ #define BUILDING_OWNER 2 /*!< 施設の種族/職業条件が一致している状態値 */ +#define MAX_KUBI 20 + /* * A structure to describe a building. * From Kamband diff --git a/src/defines.h b/src/defines.h index 9fbcfe1b6..be887746a 100644 --- a/src/defines.h +++ b/src/defines.h @@ -1435,7 +1435,6 @@ extern int PlayerUID; #define EATER_CHARGE 0x10000L #define EATER_ROD_CHARGE 0x10L -#define MAX_KUBI 20 #define DETECT_RAD_DEFAULT 30 #define DETECT_RAD_MAP 30 diff --git a/src/world.h b/src/world.h index 9887f265d..74e5a283f 100644 --- a/src/world.h +++ b/src/world.h @@ -1,4 +1,5 @@ #pragma once +#include "bldg.h" typedef struct { -- 2.11.0