summaryrefslogtreecommitdiff
path: root/src/map/mercenary.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mercenary.c')
-rw-r--r--src/map/mercenary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c
index ccdc24361..f83d3673c 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -622,10 +622,10 @@ int merc_hom_recv_data(int account_id, struct s_homunculus *sh, int flag)
sd = map_id2sd(account_id);
if(!sd)
return 0;
- if (sd->char_id != sh->char_id)
+ if (sd->status.char_id != sh->char_id)
{
if (sd->status.hom_id == sh->hom_id)
- sh->char_id = sd->char_id; //Correct char id.
+ sh->char_id = sd->status.char_id; //Correct char id.
else
return 0;
}