summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-02 20:49:59 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-02 20:49:59 +0300
commit668d24abff5a79d6d6e3c45784b3820835bf37b5 (patch)
tree88f8eba0973d9e49c0237c0ff2f79d5c99828e3b
parent3bbe5345b398b1970c5cb7313bee3fb7d114f599 (diff)
downloadplugin-668d24abff5a79d6d6e3c45784b3820835bf37b5.tar.gz
plugin-668d24abff5a79d6d6e3c45784b3820835bf37b5.tar.bz2
plugin-668d24abff5a79d6d6e3c45784b3820835bf37b5.tar.xz
plugin-668d24abff5a79d6d6e3c45784b3820835bf37b5.zip
Update from hercules.
-rw-r--r--src/emap/pc.c2
-rw-r--r--src/emap/pc.h2
2 files changed, 2 insertions, 2 deletions
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);