diff options
author | shennetsind <ind@henn.et> | 2013-09-16 11:53:58 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-16 11:53:58 -0300 |
commit | a1bdf6b04263653699c3ea0ec428aadb7b297fec (patch) | |
tree | 386004147429a1e06192da586dfb06b0baca0486 /src/map/intif.c | |
parent | 4337e65f1dc35d244dc3abf43ed084c43d064b24 (diff) | |
download | hercules-a1bdf6b04263653699c3ea0ec428aadb7b297fec.tar.gz hercules-a1bdf6b04263653699c3ea0ec428aadb7b297fec.tar.bz2 hercules-a1bdf6b04263653699c3ea0ec428aadb7b297fec.tar.xz hercules-a1bdf6b04263653699c3ea0ec428aadb7b297fec.zip |
HPM: Pet.c Interface
Fully Integrated.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/intif.c')
-rw-r--r-- | src/map/intif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/intif.c b/src/map/intif.c index 1713cb38e..180195e4c 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -1278,7 +1278,7 @@ int intif_parse_GuildMasterChanged(int fd) // Request pet creation int intif_parse_CreatePet(int fd) { - pet_get_egg(RFIFOL(fd,2),RFIFOL(fd,7),RFIFOB(fd,6)); + pet->get_egg(RFIFOL(fd,2),RFIFOL(fd,7),RFIFOB(fd,6)); return 0; } @@ -1294,7 +1294,7 @@ int intif_parse_RecvPetData(int fd) } else{ memcpy(&p,RFIFOP(fd,9),sizeof(struct s_pet)); - pet_recv_petdata(RFIFOL(fd,4),&p,RFIFOB(fd,8)); + pet->recv_petdata(RFIFOL(fd,4),&p,RFIFOB(fd,8)); } return 0; @@ -1330,7 +1330,7 @@ int intif_parse_ChangeNameOk(int fd) case 0: //Players [NOT SUPPORTED YET] break; case 1: //Pets - pet_change_name_ack(sd, (char*)RFIFOP(fd,12), RFIFOB(fd,11)); + pet->change_name_ack(sd, (char*)RFIFOP(fd,12), RFIFOB(fd,11)); break; case 2: //Hom homun->change_name_ack(sd, (char*)RFIFOP(fd,12), RFIFOB(fd,11)); |