From b9e50a1dcc19e83de8067a4aab688c12a0aab671 Mon Sep 17 00:00:00 2001 From: ultramage Date: Tue, 18 Dec 2007 14:46:19 +0000 Subject: Fixed a glitch where the TXT charserver would not unlock castle.txt after creating it, thus preventing it from being saved correctly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11941 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/int_guild.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/char/int_guild.c b/src/char/int_guild.c index 1e47d9fb2..f1d9c7429 100644 --- a/src/char/int_guild.c +++ b/src/char/int_guild.c @@ -456,6 +456,8 @@ int inter_guild_init() c++; } + fclose(fp); + if (!c) { ShowStatus(" %s - making Default Data...\n", castle_txt); //デフォルトデータを作成 @@ -472,8 +474,6 @@ int inter_guild_init() return 0; } - fclose(fp); - return 0; } -- cgit v1.2.3-70-g09d2