From 70028b45b1a73422867cf1432ea1dc29a613fc98 Mon Sep 17 00:00:00 2001 From: celest Date: Wed, 29 Dec 2004 17:22:35 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@859 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/int_guild.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/char') 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; } -- cgit v1.2.3-70-g09d2