diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/char/int_guild.c | 2 | ||||
-rw-r--r-- | src/char_sql/int_guild.c | 2 |
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; |