diff options
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 9 |
1 files changed, 3 insertions, 6 deletions
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); } /*========================================== |