summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-07 20:20:40 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-07 20:20:40 +0000
commit5c9db014d2a4522df865b789e1b0eabd9e4ab68d (patch)
treee6ea519ae130b175091948ed83f88714e0e9b38b /src
parentacc8a7acc9179d8d9a49675448d18c7ad19a6902 (diff)
downloadhercules-5c9db014d2a4522df865b789e1b0eabd9e4ab68d.tar.gz
hercules-5c9db014d2a4522df865b789e1b0eabd9e4ab68d.tar.bz2
hercules-5c9db014d2a4522df865b789e1b0eabd9e4ab68d.tar.xz
hercules-5c9db014d2a4522df865b789e1b0eabd9e4ab68d.zip
- Corrected default guild positions not being saved during guild creation.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12690 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/char_sql/int_guild.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c
index a63bc951b..00f4759d4 100644
--- a/src/char_sql/int_guild.c
+++ b/src/char_sql/int_guild.c
@@ -1276,8 +1276,11 @@ int mapif_parse_CreateGuild(int fd,int account_id,char *name,struct guild_member
g->position[0].mode=0x11;
strcpy(g->position[0].name,"GuildMaster");
strcpy(g->position[MAX_GUILDPOSITION-1].name,"Newbie");
- for(i=1;i<MAX_GUILDPOSITION-1;i++)
+ g->position[0].modified = g->position[MAX_GUILDPOSITION-1].modified = GS_POSITION_MODIFIED;
+ for(i=1;i<MAX_GUILDPOSITION-1;i++) {
sprintf(g->position[i].name,"Position %d",i+1);
+ g->position[i].modified = GS_POSITION_MODIFIED;
+ }
// Initialize guild property
g->max_member=16;