From d57781cee04e99fa8be7c209a75b949a57eba59d Mon Sep 17 00:00:00 2001 From: panikon Date: Sat, 19 Apr 2014 18:28:51 -0300 Subject: 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 --- src/map/pet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/pet.h') 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); -- cgit v1.2.3-70-g09d2