summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-14 12:07:33 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-14 12:07:33 +0000
commit0f68ad394abe13e2374f84f02ac1b04e62fe406e (patch)
tree83361e37d4268ccbb1164d54636a2fde6aa61a51 /src/map/map.c
parent1a89ef9c1411199ebdfdf87837613a35b72914f1 (diff)
downloadhercules-0f68ad394abe13e2374f84f02ac1b04e62fe406e.tar.gz
hercules-0f68ad394abe13e2374f84f02ac1b04e62fe406e.tar.bz2
hercules-0f68ad394abe13e2374f84f02ac1b04e62fe406e.tar.xz
hercules-0f68ad394abe13e2374f84f02ac1b04e62fe406e.zip
* Moved bitfield 'boss' inside 'spawn_data' and 'mob_data' into the respective state struct (from r13813, follow up to r14795).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14818 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 762cf1446..c086b73c0 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1509,7 +1509,7 @@ void map_addiddb(struct block_list *bl)
TBL_MOB* md = (TBL_MOB*)bl;
idb_put(mobid_db,bl->id,bl);
- if( md->boss )
+ if( md->state.boss )
idb_put(bossid_db, bl->id, bl);
}