summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-12 16:06:29 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-12 16:06:29 +0000
commit2eb9dcd521e8c726f8731e3bdfcc2e0f2e675225 (patch)
tree4884dbb98747ba7a7ae197c8b4bffb6237592a5a
parent99e233fb1108a482dfa5da7d1604000d5c844de9 (diff)
downloadhercules-2eb9dcd521e8c726f8731e3bdfcc2e0f2e675225.tar.gz
hercules-2eb9dcd521e8c726f8731e3bdfcc2e0f2e675225.tar.bz2
hercules-2eb9dcd521e8c726f8731e3bdfcc2e0f2e675225.tar.xz
hercules-2eb9dcd521e8c726f8731e3bdfcc2e0f2e675225.zip
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
-rw-r--r--src/map/mob.c2
-rw-r--r--src/map/mob.h2
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;
};