summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-18 14:46:19 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-18 14:46:19 +0000
commitb9e50a1dcc19e83de8067a4aab688c12a0aab671 (patch)
tree0e557f754fdabb0d75586eb41e56fcabcdb0ab5f
parent8855528bcaa2c06cc7f23d53d63cbfdadd2f8fcf (diff)
downloadhercules-b9e50a1dcc19e83de8067a4aab688c12a0aab671.tar.gz
hercules-b9e50a1dcc19e83de8067a4aab688c12a0aab671.tar.bz2
hercules-b9e50a1dcc19e83de8067a4aab688c12a0aab671.tar.xz
hercules-b9e50a1dcc19e83de8067a4aab688c12a0aab671.zip
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
-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 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;
}