summaryrefslogtreecommitdiff
path: root/src/map/mob.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/mob.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/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 822b84bf4..208617b5d 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2686,7 +2686,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) {
return 5; // Note: Actually, it's 4. Oh well...
// MvP tomb [GreenBox]
- if (battle_config.mvp_tomb_enabled && md->spawn->state.boss && map->list[md->bl.m].flag.notomb != 1)
+ if (battle_config.mvp_tomb_enabled && md->spawn->state.boss == BTYPE_MVP && map->list[md->bl.m].flag.notomb != 1)
mob->mvptomb_create(md, mvp_sd ? mvp_sd->status.name : NULL, time(NULL));
if( !rebirth ) {