git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@514 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
amber 2004-12-08 18:57:10 +00:00
parent 7ef9c70b13
commit 8fc951ef03
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Date Added Date Added
12/8 12/8
* fixed @revive [MouseJstr]
* Added option to turn off login server logging [celest] * Added option to turn off login server logging [celest]
* Moved char server starting logging to after we've read the configuration * Moved char server starting logging to after we've read the configuration
file first [celest] file first [celest]

View File

@ -4087,12 +4087,12 @@ int atcommand_revive(
} }
if ((pl_sd = map_nick2sd(character)) != NULL) { if ((pl_sd = map_nick2sd(character)) != NULL) {
if (pc_isdead(sd)) { if (pc_isdead(pl_sd)) {
pl_sd->status.hp = pl_sd->status.max_hp; pl_sd->status.hp = pl_sd->status.max_hp;
clif_skill_nodamage(&sd->bl,&sd->bl,ALL_RESURRECTION,4,1); clif_skill_nodamage(&sd->bl,&sd->bl,ALL_RESURRECTION,4,1);
pc_setstand(pl_sd); pc_setstand(pl_sd);
if (battle_config.pc_invincible_time > 0) if (battle_config.pc_invincible_time > 0)
pc_setinvincibletimer(sd, battle_config.pc_invincible_time); pc_setinvincibletimer(pl_sd, battle_config.pc_invincible_time);
clif_updatestatus(pl_sd, SP_HP); clif_updatestatus(pl_sd, SP_HP);
clif_updatestatus(pl_sd, SP_SP); clif_updatestatus(pl_sd, SP_SP);
clif_resurrection(&pl_sd->bl, 1); clif_resurrection(&pl_sd->bl, 1);