summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-08 18:57:10 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-08 18:57:10 +0000
commit09fadbbae7b2804a09d07c0efffd50caf8efb1c9 (patch)
tree254ce7195470322fd9fa40f47bf12eb85bb3708b /src
parente40f63571168bfa85567a9accbf53f12d8239af1 (diff)
downloadhercules-09fadbbae7b2804a09d07c0efffd50caf8efb1c9.tar.gz
hercules-09fadbbae7b2804a09d07c0efffd50caf8efb1c9.tar.bz2
hercules-09fadbbae7b2804a09d07c0efffd50caf8efb1c9.tar.xz
hercules-09fadbbae7b2804a09d07c0efffd50caf8efb1c9.zip
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@514 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/atcommand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 1e0139286..5b4eafb6a 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -4087,12 +4087,12 @@ int atcommand_revive(
}
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;
clif_skill_nodamage(&sd->bl,&sd->bl,ALL_RESURRECTION,4,1);
pc_setstand(pl_sd);
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_SP);
clif_resurrection(&pl_sd->bl, 1);