diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-09-28 22:36:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-10-02 21:41:55 +0300 |
commit | 0528b1a5f0b3012c2ff91d364c73e9cb4513fd38 (patch) | |
tree | 064e7c3696b27f3ceb9690aef458b0f61834b53f /src/map/pc.h | |
parent | 16b4e9a8a2ee0eae30d18bdf30ed0a24d85200bb (diff) | |
download | hercules-0528b1a5f0b3012c2ff91d364c73e9cb4513fd38.tar.gz hercules-0528b1a5f0b3012c2ff91d364c73e9cb4513fd38.tar.bz2 hercules-0528b1a5f0b3012c2ff91d364c73e9cb4513fd38.tar.xz hercules-0528b1a5f0b3012c2ff91d364c73e9cb4513fd38.zip |
Fix getting achievement reward packets order.
Also split achievement reward function to parts.
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 17a9b8200..4ee5f560b 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -937,7 +937,7 @@ END_ZEROED_BLOCK; /* End */ int (*inventoryblank) (struct map_session_data *sd); int (*search_inventory) (struct map_session_data *sd,int item_id); int (*payzeny) (struct map_session_data *sd,int zeny, enum e_log_pick_type type, struct map_session_data *tsd); - int (*additem) (struct map_session_data *sd,struct item *item_data,int amount,e_log_pick_type log_type); + int (*additem) (struct map_session_data *sd, const struct item *item_data, int amount, e_log_pick_type log_type); int (*getzeny) (struct map_session_data *sd,int zeny, enum e_log_pick_type type, struct map_session_data *tsd); int (*delitem) (struct map_session_data *sd,int n,int amount,int type, short reason, e_log_pick_type log_type); |