Fixed @revive not reviving the good char
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9448 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
1c8523c487
commit
01b6c052c6
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user