From e925f36d7c4cd764f271ed9b601b9986486bf2db Mon Sep 17 00:00:00 2001 From: celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> Date: Mon, 27 Dec 2004 11:09:31 +0000 Subject: 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 --- Changelog.txt | 1 + src/char/int_guild.c | 2 +- src/char_sql/int_guild.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index 772610550..afdfb1b3a 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,5 +1,6 @@ Date Added 12/27 + * Corrected wrong logging of text in int_guild.c, thanks to Alex14 [celest] * Summoned monsters will not give exp and items [celest] * Added the 6 new Yuno fields to maps_athena.conf [celest] * Added some Freya's optimisations in clif_parse [celest] 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; -- cgit v1.2.3-70-g09d2