From 2eb9dcd521e8c726f8731e3bdfcc2e0f2e675225 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 12 Jul 2012 16:06:29 +0000 Subject: another set of minor adjustments throughout the code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16414 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 2 +- src/map/mob.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/mob.c b/src/map/mob.c index 5dd636689..c59febd42 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -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) diff --git a/src/map/mob.h b/src/map/mob.h index 10d16fd4e..4a77a3abb 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -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; }; -- cgit v1.2.3-70-g09d2