From 615b7532efe7ffe61d3cbb15257df5e3699d58d8 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Tue, 18 Mar 2008 14:46:22 +0000 Subject: - Sorry, fixing the last adoption step. It was too late ._. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12392 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/map/clif.c b/src/map/clif.c index fdeef84d0..678581d03 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -12067,13 +12067,10 @@ void clif_parse_Adopt_reply(int fd, struct map_session_data *sd) sd->adopt_invite = 0; - if( pid != p1_sd->status.account_id ) - return; // Not the same sender + if( pid != p1_sd->status.account_id || !result ) + return; // Not the same sender | Reply No - if( pc_can_Adopt(p1_sd, p2_sd, sd) ) - { - // Lets do the adoption!! - } + pc_adoption(p1_sd, p2_sd, sd); } /*========================================== -- cgit v1.2.3-70-g09d2