diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-08 16:36:48 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-08 16:36:48 +0000 |
commit | 0d9bd14770104ad2ed43a5f498aed29e4d476427 (patch) | |
tree | 460d38df3917ccb89ed7334d7cee1fbf697e8584 /src/char_sql | |
parent | 545f9a5c14d46cf37bc03845fbb515e6417e3a2e (diff) | |
download | hercules-0d9bd14770104ad2ed43a5f498aed29e4d476427.tar.gz hercules-0d9bd14770104ad2ed43a5f498aed29e4d476427.tar.bz2 hercules-0d9bd14770104ad2ed43a5f498aed29e4d476427.tar.xz hercules-0d9bd14770104ad2ed43a5f498aed29e4d476427.zip |
- Added upgrade_svn8675.sql in case, for some reason, your guild table still has the emblem_data field as a 'blob' with "NOT NULL" specified.
- Some minor cleanups.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8675 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/int_guild.c | 5 | ||||
-rw-r--r-- | src/char_sql/inter.c | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c index b0549800c..1d190300a 100644 --- a/src/char_sql/int_guild.c +++ b/src/char_sql/int_guild.c @@ -1025,8 +1025,8 @@ int mapif_guild_leaved(int guild_id,int account_id,int char_id,int flag, const c WBUFW(buf, 0)=0x3834;
WBUFL(buf, 2)=guild_id;
WBUFL(buf, 6)=account_id;
- WBUFL(buf, 10)=char_id;
- WBUFB(buf, 14)=flag;
+ WBUFL(buf,10)=char_id;
+ WBUFB(buf,14)=flag;
memcpy(WBUFP(buf,15),mes,40);
memcpy(WBUFP(buf,55),name,NAME_LENGTH);
mapif_sendall(buf,55+NAME_LENGTH);
@@ -1873,7 +1873,6 @@ int mapif_parse_GuildNotice(int fd,int guild_id,const char *mes1,const char *mes return mapif_guild_notice(g);
}
-
int mapif_parse_GuildEmblem(int fd,int len,int guild_id,int dummy,const char *data)
{
struct guild * g;
diff --git a/src/char_sql/inter.c b/src/char_sql/inter.c index 73b049044..ba0507313 100644 --- a/src/char_sql/inter.c +++ b/src/char_sql/inter.c @@ -80,10 +80,7 @@ int inter_recv_packet_length[]={ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
48,14,-1, 6, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //0x3080-0x308f
-// 44,10,-1, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0x3090 - 0x309f Homunculus packets [albator]
68,10,-1, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0x3090 - 0x309f Homunculus packets [albator]
-
-
};
struct WisData {
|