From 41a6edabbdeb6cec53b0ee6c683943bf9299e51b Mon Sep 17 00:00:00 2001 From: toms Date: Mon, 11 Dec 2006 10:19:12 +0000 Subject: Fixed @revive not reviving the good char git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9448 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/atcommand.c') 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; } -- cgit v1.2.3-70-g09d2