From 668d24abff5a79d6d6e3c45784b3820835bf37b5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 2 Nov 2018 20:49:59 +0300 Subject: Update from hercules. --- src/emap/pc.c | 2 +- src/emap/pc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/emap/pc.c b/src/emap/pc.c index a11d2b7..cd8ef2f 100644 --- a/src/emap/pc.c +++ b/src/emap/pc.c @@ -411,7 +411,7 @@ int epc_setnewpc_post(int retVal, int epc_additem_post(int retVal, struct map_session_data *sd, - struct item *item_data, + const struct item *item_data, int amount __attribute__ ((unused)), e_log_pick_type log_type __attribute__ ((unused))) { diff --git a/src/emap/pc.h b/src/emap/pc.h index 4d227b4..d5c59bf 100644 --- a/src/emap/pc.h +++ b/src/emap/pc.h @@ -61,7 +61,7 @@ int epc_setnewpc_post(int retVal, int epc_additem_post(int retVal, struct map_session_data *sd, - struct item *item_data, + const struct item *item_data, int amount, e_log_pick_type log_type); -- cgit v1.2.3-70-g09d2