summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-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 5dd636689..c59febd42 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -963,7 +963,7 @@ int mob_spawn (struct mob_data *md)
memset(md->dmglog, 0, sizeof(md->dmglog));
md->tdmg = 0;
if (md->lootitem)
- memset(md->lootitem, 0, sizeof(md->lootitem));
+ memset(&md->lootitem, 0, sizeof(md->lootitem));
md->lootitem_count = 0;
if(md->db->option)