summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/atcommand.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index a83cc08a6..239ef6d6d 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2006/12/11
+ * Fixed @revive not reviving the good char [Toms]
2006/12/10
* Added more helpfull messages when packet_ver=-1.
* Joined normal and MINICORE's main function.
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;
}