summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-11 16:33:22 -0300
committershennetsind <ind@henn.et>2013-04-11 16:33:22 -0300
commit3185ca423f28c25ca10210631a3474dc599c84a0 (patch)
treeac433d0e406deb105e40ce21ba0a9e18fc26f3e5 /src/map/mob.c
parent53369ab05d2f087d826b5fbb2dcb335a1ac59a1d (diff)
downloadhercules-3185ca423f28c25ca10210631a3474dc599c84a0.tar.gz
hercules-3185ca423f28c25ca10210631a3474dc599c84a0.tar.bz2
hercules-3185ca423f28c25ca10210631a3474dc599c84a0.tar.xz
hercules-3185ca423f28c25ca10210631a3474dc599c84a0.zip
Follow up e7cb725387ceaa535562555c0461ead078dbdfd3
Improved Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index df7e2c365..f53e48316 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2634,8 +2634,10 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
if (battle_config.mvp_tomb_enabled && md->spawn->state.boss)
mvptomb_create(md, mvp_sd ? mvp_sd->status.name : NULL, time(NULL));
- if( !rebirth )
+ if( !rebirth ) {
+ status_change_clear(&md->bl,1);
mob_setdelayspawn(md); //Set respawning.
+ }
return 3; //Remove from map.
}