summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-08 13:49:31 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-08 13:49:31 +0000
commit38633b84e729539bcbdf037a97421e2e18fea2df (patch)
tree0d69095c7069d3f35f77c81021515b8a3ff5dcb4 /src/map/mob.c
parentb7ead3917f40c1e98950aab453c1b3196700fccb (diff)
downloadhercules-38633b84e729539bcbdf037a97421e2e18fea2df.tar.gz
hercules-38633b84e729539bcbdf037a97421e2e18fea2df.tar.bz2
hercules-38633b84e729539bcbdf037a97421e2e18fea2df.tar.xz
hercules-38633b84e729539bcbdf037a97421e2e18fea2df.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7045 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 61b77bf97..8d9b69626 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2174,7 +2174,10 @@ void mob_revive(struct mob_data *md, unsigned int hp)
md->last_linktime = tick;
if (!md->bl.prev)
map_addblock(&md->bl);
- clif_spawn(&md->bl);
+ if(pcdb_checkid(md->vd->class_) && md->nd)
+ md->vd->dead_sit = 0;
+ else
+ clif_spawn(&md->bl);
skill_unit_move(&md->bl,tick,1);
mobskill_use(md, tick, MSC_SPAWN);
if (battle_config.show_mob_hp)