summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 532d42ff1..0d8a5803a 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -12086,8 +12086,10 @@ void clif_parse_Adopt_reply(int fd, struct map_session_data *sd)
if( p1_sd == NULL || p2_sd == NULL )
return; // Both players need to be online
- if( pid != p1_sd->status.account_id || p2_id != p1_sd->status.partner_id )
+
+ if( pid != p1_sd->status.account_id )
return; // Incorrect values
+
if( result == 0 )
return; // Rejected