summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-03 11:39:29 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-03 11:39:29 +0000
commit83102f22528446819943769781e1404887779ab3 (patch)
tree7faee7a654747e10ff63ac51e2490084e833ad1a
parent8e008eeaddef8c375adab103ddd30fd12470e195 (diff)
downloadhercules-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
-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 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;