summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
Diffstat (limited to 'src/char')
-rw-r--r--src/char/int_guild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c
index a0ba5becb..025a6e6c7 100644
--- a/src/char/int_guild.c
+++ b/src/char/int_guild.c
@@ -629,7 +629,7 @@ int guild_calcinfo(struct guild *g) {
struct guild before = *g;
// スキルIDの設定
- for(i = 0; i < 20; i++)
+ for(i = 0; i < MAX_GUILDSKILL; i++)
g->skill[i].id = i + 10000;
// ギルドレベル
@@ -979,7 +979,7 @@ int mapif_parse_CreateGuild(int fd, int account_id, char *name, struct guild_mem
// ここでギルド情報計算が必要と思われる
g->max_member = 16;
g->average_lv = master->lv;
- for(i = 0; i < 20; i++)
+ for(i = 0; i < MAX_GUILDSKILL; i++)
g->skill[i].id = i + 10000;
numdb_insert(guild_db, g->guild_id, g);