From 3bba651be303be1cecb004edd350870ddb84e0fb Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 18 Feb 2013 10:42:38 -0300 Subject: Fixed Bug #7081 Fixed msvc compiler warning as described in bug report 7081 http://hercules.ws/board/tracker/issue-7081-warning-uninitialized-l/ Signed-off-by: shennetsind --- src/map/mob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/mob.c b/src/map/mob.c index 5b55acce4..e7d36d6b9 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2101,7 +2101,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) int id,zeny; unsigned int base_exp,job_exp; } pt[DAMAGELOG_SIZE]; - int i,temp,count,m=md->bl.m, pnum; + int i, temp, count, m = md->bl.m, pnum = 0; int dmgbltypes = 0; // bitfield of all bl types, that caused damage to the mob and are elligible for exp distribution unsigned int mvp_damage, tick = gettick(); bool rebirth, homkillonly; -- cgit v1.2.3-70-g09d2