summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-11-04 21:16:03 +0100
committerGitHub <noreply@github.com>2017-11-04 21:16:03 +0100
commit41f3237e4537d7105fb47d56b455d31cf33c155c (patch)
treebe03ffc4b7ad3e54da03cb8f9918516a6c3fc6d6 /src/map/map.c
parent94a8ddedf7307aab1452fbd0da80d3b8b254eaf1 (diff)
parent3e03556e510feb34b6f590574cd3025ef54739a6 (diff)
downloadhercules-41f3237e4537d7105fb47d56b455d31cf33c155c.tar.gz
hercules-41f3237e4537d7105fb47d56b455d31cf33c155c.tar.bz2
hercules-41f3237e4537d7105fb47d56b455d31cf33c155c.tar.xz
hercules-41f3237e4537d7105fb47d56b455d31cf33c155c.zip
Merge pull request #1889 from 4144/fixpackets
Fix boss flag and add 2017-10-25 client packets
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 ff5c2aafd..5a647625f 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1840,7 +1840,7 @@ void map_addiddb(struct block_list *bl)
struct mob_data *md = BL_UCAST(BL_MOB, bl);
idb_put(map->mobid_db,bl->id,bl);
- if( md->state.boss )
+ if (md->state.boss == BTYPE_MVP)
idb_put(map->bossid_db, bl->id, bl);
}