summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-27 11:09:31 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-27 11:09:31 +0000
commite925f36d7c4cd764f271ed9b601b9986486bf2db (patch)
tree36f6c6c7f180b4c55812ce3e4a5204f62018a6a5 /src
parentcf44279d5416a3290d1c0ab735579aab16787ddf (diff)
downloadhercules-e925f36d7c4cd764f271ed9b601b9986486bf2db.tar.gz
hercules-e925f36d7c4cd764f271ed9b601b9986486bf2db.tar.bz2
hercules-e925f36d7c4cd764f271ed9b601b9986486bf2db.tar.xz
hercules-e925f36d7c4cd764f271ed9b601b9986486bf2db.zip
Corrected wrong logging of text in int_guild.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@812 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/char/int_guild.c2
-rw-r--r--src/char_sql/int_guild.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c
index 3229453f8..dbd7ee615 100644
--- a/src/char/int_guild.c
+++ b/src/char/int_guild.c
@@ -1369,7 +1369,7 @@ int mapif_parse_GuildCastleDataSave(int fd, int castle_id, int index, int value)
struct guild *g = numdb_search(guild_db, gid);
if(log_inter)
inter_log("guild %s (id=%d) %s castle id=%d" RETCODE,
- (g) ? g->name : "??", gid, (value) ? "occupy" : "abandon", index);
+ (g) ? g->name : "??", gid, (value) ? "occupy" : "abandon", castle_id);
}
gc->guild_id = value;
break;
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c
index dedabfab7..8e1fb5d6d 100644
--- a/src/char_sql/int_guild.c
+++ b/src/char_sql/int_guild.c
@@ -1583,7 +1583,7 @@ int mapif_parse_GuildCastleDataSave(int fd,int castle_id,int index,int value)
struct guild *g=inter_guild_fromsql(gid);
if(log_inter)
inter_log("guild %s (id=%d) %s castle id=%d" RETCODE,
- (g)?g->name:"??" ,gid, (value)?"occupy":"abandon", index);
+ (g)?g->name:"??" ,gid, (value)?"occupy":"abandon", castle_id);
}
gc->guild_id = value;
break;