diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-29 17:22:35 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-29 17:22:35 +0000 |
commit | 70028b45b1a73422867cf1432ea1dc29a613fc98 (patch) | |
tree | 9f6b686e2cbb09a5825a0ea48be032a3d2a30a7f /src/char | |
parent | 2d5a97a322c5c3d9665ba96deb5daa4d6188c28d (diff) | |
download | hercules-70028b45b1a73422867cf1432ea1dc29a613fc98.tar.gz hercules-70028b45b1a73422867cf1432ea1dc29a613fc98.tar.bz2 hercules-70028b45b1a73422867cf1432ea1dc29a613fc98.tar.xz hercules-70028b45b1a73422867cf1432ea1dc29a613fc98.zip |
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@859 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/int_guild.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c index dbd7ee615..8577b2a66 100644 --- a/src/char/int_guild.c +++ b/src/char/int_guild.c @@ -1111,8 +1111,10 @@ int mapif_parse_GuildChangeMemberInfoShort(int fd, int guild_id, int account_id, if (g->member[i].online) g->connect_member++; } - // 平均レベル - g->average_lv = alv / c; + + if (c) + // 平均レベル + g->average_lv = alv / c; return 0; } |