diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/atcommand.c | 4 |
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; } |