summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-11 10:19:12 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-11 10:19:12 +0000
commit41a6edabbdeb6cec53b0ee6c683943bf9299e51b (patch)
tree2201098025869b540c9bd64df986b0580d06ef4c /src/map/atcommand.c
parent2fb4ffc2ae152deaee824a48789188934a081a44 (diff)
downloadhercules-41a6edabbdeb6cec53b0ee6c683943bf9299e51b.tar.gz
hercules-41a6edabbdeb6cec53b0ee6c683943bf9299e51b.tar.bz2
hercules-41a6edabbdeb6cec53b0ee6c683943bf9299e51b.tar.xz
hercules-41a6edabbdeb6cec53b0ee6c683943bf9299e51b.zip
Fixed @revive not reviving the good char
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9448 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-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 85fdad341..9e7e398a6 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -4621,10 +4621,10 @@ int atcommand_revive(
return -1;
}
- if (!status_revive(&sd->bl, 100, 0))
+ if (!status_revive(&pl_sd->bl, 100, 0))
return -1;
- clif_skill_nodamage(&sd->bl,&sd->bl,ALL_RESURRECTION,4,1);
+ clif_skill_nodamage(&sd->bl,&pl_sd->bl,ALL_RESURRECTION,4,1);
clif_displaymessage(fd, msg_txt(51)); // Character revived.
return 0;
}