summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-25 20:06:13 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-25 20:06:13 +0000
commit0d9785742ca4554d633c226c2db8fa7a2d255082 (patch)
tree2b689304aa2df09f623816315be6538bc64e5258 /src/map/atcommand.c
parent922f62e89a8b3dae0f7e407fae044299988b9ece (diff)
downloadhercules-0d9785742ca4554d633c226c2db8fa7a2d255082.tar.gz
hercules-0d9785742ca4554d633c226c2db8fa7a2d255082.tar.bz2
hercules-0d9785742ca4554d633c226c2db8fa7a2d255082.tar.xz
hercules-0d9785742ca4554d633c226c2db8fa7a2d255082.zip
- Implemented new Pet Bonus System. Enjoy!! :D
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13491 54d463be-8e91-2dee-dedb-b68131a5f0ec
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;