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
This commit is contained in:
parent
cef909df2f
commit
1f96917744
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user