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.c | |
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.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 961dda9f5..c64c79db2 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4689,7 +4689,7 @@ static int pc_search_inventory(struct map_session_data *sd, int item_id) * 6 = ? * 7 = stack limitation *------------------------------------------*/ -static int pc_additem(struct map_session_data *sd, struct item *item_data, int amount, e_log_pick_type log_type) +static int pc_additem(struct map_session_data *sd, const struct item *item_data, int amount, e_log_pick_type log_type) { struct item_data *data; int i; |