summaryrefslogtreecommitdiff
path: root/src/map/pet.h
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-04-19 18:28:51 -0300
committerpanikon <panikon@zoho.com>2014-04-19 18:28:51 -0300
commitd57781cee04e99fa8be7c209a75b949a57eba59d (patch)
tree1727620e892958802e9319ac23d74de51e955e64 /src/map/pet.h
parent11d2525f4a7a358030caaa17fe82dc7bab8fe63f (diff)
downloadhercules-d57781cee04e99fa8be7c209a75b949a57eba59d.tar.gz
hercules-d57781cee04e99fa8be7c209a75b949a57eba59d.tar.bz2
hercules-d57781cee04e99fa8be7c209a75b949a57eba59d.tar.xz
hercules-d57781cee04e99fa8be7c209a75b949a57eba59d.zip
Fixed issue: 8150
* http://hercules.ws/board/tracker/issue-8150-cash-shop-updating-quantity-bug/ * Also fixed issue where when using ATitem to get more than one pet egg would result on getting only one egg * Changed packet 0x3880 structure now it also contains pet class and dropped flag from this packet, it was pointless
Diffstat (limited to 'src/map/pet.h')
-rw-r--r--src/map/pet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.h b/src/map/pet.h
index 537a50c4b..4ec30b3fb 100644
--- a/src/map/pet.h
+++ b/src/map/pet.h
@@ -127,7 +127,7 @@ struct pet_interface {
int (*select_egg) (struct map_session_data *sd, short egg_index);
int (*catch_process1) (struct map_session_data *sd, int target_class);
int (*catch_process2) (struct map_session_data *sd, int target_id);
- int (*get_egg) (int account_id, int pet_id, int flag);
+ bool (*get_egg) (int account_id, short pet_class, int pet_id );
int (*unequipitem) (struct map_session_data *sd, struct pet_data *pd);
int (*food) (struct map_session_data *sd, struct pet_data *pd);
int (*ai_sub_hard_lootsearch) (struct block_list *bl, va_list ap);