summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-02-18 10:42:38 -0300
committershennetsind <ind@henn.et>2013-02-18 10:42:38 -0300
commit3bba651be303be1cecb004edd350870ddb84e0fb (patch)
tree67b07168b94d585374b3af7e745f97a7e3713ca3 /src
parent7e72f0cee8867837be53cb2119b610b00e9bd587 (diff)
downloadhercules-3bba651be303be1cecb004edd350870ddb84e0fb.tar.gz
hercules-3bba651be303be1cecb004edd350870ddb84e0fb.tar.bz2
hercules-3bba651be303be1cecb004edd350870ddb84e0fb.tar.xz
hercules-3bba651be303be1cecb004edd350870ddb84e0fb.zip
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 <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
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;