diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-03 11:39:29 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-03 11:39:29 +0000 |
commit | 83102f22528446819943769781e1404887779ab3 (patch) | |
tree | 7faee7a654747e10ff63ac51e2490084e833ad1a /src/map/mob.c | |
parent | 8e008eeaddef8c375adab103ddd30fd12470e195 (diff) | |
download | hercules-83102f22528446819943769781e1404887779ab3.tar.gz hercules-83102f22528446819943769781e1404887779ab3.tar.bz2 hercules-83102f22528446819943769781e1404887779ab3.tar.xz hercules-83102f22528446819943769781e1404887779ab3.zip |
Fixed the last warning reported in clang, super mega ultra hyper plus thanks to mkbu95
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16566 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 4ed1f3848..154c841df 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -984,7 +984,7 @@ int mob_spawn (struct mob_data *md) md->tdmg = 0; if (md->lootitem) - memset(md->lootitem, 0, sizeof(md->lootitem)); + memset(md->lootitem, 0, sizeof(*md->lootitem)); md->lootitem_count = 0; |