Browse Source

Fixed the last warning reported in clang, super mega ultra hyper plus thanks to mkbu95

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16566 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 12 years ago
parent
commit
1f96917744
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/map/mob.c

+ 1 - 1
src/map/mob.c

@@ -984,7 +984,7 @@ int mob_spawn (struct mob_data *md)
 	md->tdmg = 0;
 	md->tdmg = 0;
 	
 	
 	if (md->lootitem)
 	if (md->lootitem)
-		memset(md->lootitem, 0, sizeof(md->lootitem));
+		memset(md->lootitem, 0, sizeof(*md->lootitem));
 	
 	
 	md->lootitem_count = 0;
 	md->lootitem_count = 0;