summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 91440bf0e..a4641b882 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -3178,7 +3178,8 @@ int atcommand_petfriendly(const int fd, struct map_session_data* sd, const char*
clif_displaymessage(fd, msg_txt(183)); // Pet intimacy is already at maximum.
return -1;
}
- pd->pet.intimate = friendly;
+
+ pet_set_intimate(pd, friendly);
clif_send_petstatus(sd);
clif_displaymessage(fd, msg_txt(182)); // Pet intimacy changed.
return 0;