diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 22:14:36 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 22:14:36 +0000 |
commit | 4d81f68ece4dee6282024fe7189d8402a05428db (patch) | |
tree | d04b30fe51fc769d70fab7e3ede00fe499fd923f /src/char/int_guild.c | |
parent | 3c9107ed87b2153f9ca2ed8896979f076be469e3 (diff) | |
download | hercules-4d81f68ece4dee6282024fe7189d8402a05428db.tar.gz hercules-4d81f68ece4dee6282024fe7189d8402a05428db.tar.bz2 hercules-4d81f68ece4dee6282024fe7189d8402a05428db.tar.xz hercules-4d81f68ece4dee6282024fe7189d8402a05428db.zip |
eAthena VC7 solution and support added for native builds [MouseJstr]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1347 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/int_guild.c')
-rw-r--r-- | src/char/int_guild.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c index 8b9de1a89..95f0cf099 100644 --- a/src/char/int_guild.c +++ b/src/char/int_guild.c @@ -731,7 +731,7 @@ int mapif_guild_noinfo(int fd, int guild_id) { // ギルド情報まとめ送り int mapif_guild_info(int fd, struct guild *g) { - unsigned char buf[4 + sizeof(struct guild)]; + unsigned char buf[2048]; WBUFW(buf,0) = 0x3831; memcpy(buf + 4, g, sizeof(struct guild)); @@ -805,7 +805,7 @@ int mapif_guild_broken(int guild_id, int flag) { // ギルド内発言 int mapif_guild_message(int guild_id, int account_id, char *mes, int len, int sfd) { - unsigned char buf[len+12]; + unsigned char buf[2048]; WBUFW(buf,0) = 0x3837; WBUFW(buf,2) = len + 12; @@ -832,7 +832,7 @@ int mapif_guild_basicinfochanged(int guild_id, int type, const void *data, int l // ギルドメンバ情報変更通知 int mapif_guild_memberinfochanged(int guild_id, int account_id, int char_id, int type, const void *data, int len) { - unsigned char buf[len + 18]; + unsigned char buf[4096]; WBUFW(buf, 0) = 0x383a; WBUFW(buf, 2) = len + 18; @@ -878,7 +878,7 @@ int mapif_guild_alliance(int guild_id1, int guild_id2, int account_id1, int acco // ギルド役職変更通知 int mapif_guild_position(struct guild *g, int idx) { - unsigned char buf[sizeof(struct guild_position) + 12]; + unsigned char buf[2048]; WBUFW(buf,0) = 0x383b; WBUFW(buf,2) = sizeof(struct guild_position) + 12; |