diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-08-19 00:55:46 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-08-19 00:55:46 +0000 |
commit | 72d890661194b248620c5c353777cb96be18c821 (patch) | |
tree | 1d87db18458896dbca4c3a42fad1697f66c65204 /src/map/clif.h | |
parent | 9cf344e5c49ae0565a3ae228e8ca0126afef547a (diff) | |
download | hercules-72d890661194b248620c5c353777cb96be18c821.tar.gz hercules-72d890661194b248620c5c353777cb96be18c821.tar.bz2 hercules-72d890661194b248620c5c353777cb96be18c821.tar.xz hercules-72d890661194b248620c5c353777cb96be18c821.zip |
- Cleaned up some the pet armor display code.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11034 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index bb510b94a..0037b832c 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -321,10 +321,10 @@ int clif_catch_process(struct map_session_data *sd); int clif_pet_roulette(struct map_session_data *sd,int data); int clif_sendegg(struct map_session_data *sd); int clif_send_petstatus(struct map_session_data *sd); -int clif_send_petdata(struct map_session_data* sd, int type, int param); -int clif_send_petdata_area(struct pet_data* pd, int type, int param); -#define clif_pet_equip(pd) clif_send_petdata_area(pd, 3, (pd)->vd.head_bottom) -#define clif_pet_performance(pd, param) clif_send_petdata_area(pd, 4, param) +int clif_send_petdata(struct map_session_data *sd, struct pet_data* pd, int type, int param); +#define clif_pet_equip(sd, pd) clif_send_petdata(sd, pd, 3, (pd)->vd.head_bottom) +#define clif_pet_equip_area(pd) clif_send_petdata(NULL, pd, 3, (pd)->vd.head_bottom) +#define clif_pet_performance(pd, param) clif_send_petdata(NULL, pd, 4, param) int clif_pet_emotion(struct pet_data *pd,int param); int clif_pet_food(struct map_session_data *sd,int foodid,int fail); |