git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16414 54d463be-8e91-2dee-dedb-b68131a5f0ec
@@ -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)
@@ -173,7 +173,7 @@ struct mob_data {
* Did this monster summon something?
* Used to flag summon deletions, saves a worth amount of memory
**/
- bool can_summon : 1;
+ bool can_summon;
struct npc_data *tomb_npc;
};