summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-19 18:46:18 +0100
committerHaru <haru@dotalux.com>2016-03-20 18:32:07 +0100
commit8c9e9668cef87ab9595bde6608de424072cc752d (patch)
tree3645ce8adc6146a867ffd564006d2d8e0b7b1eef /src/map/script.h
parent138956dcf9415353a4f67de6bc66efa23a04e61c (diff)
downloadhercules-8c9e9668cef87ab9595bde6608de424072cc752d.tar.gz
hercules-8c9e9668cef87ab9595bde6608de424072cc752d.tar.bz2
hercules-8c9e9668cef87ab9595bde6608de424072cc752d.tar.xz
hercules-8c9e9668cef87ab9595bde6608de424072cc752d.zip
Added const qualifier to the value argument of script->setd_sub
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 9eb473f03..b8e9d1997 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -692,7 +692,7 @@ struct script_interface {
int (*add_str) (const char* p);
const char* (*get_str) (int id);
int (*search_str) (const char* p);
- void (*setd_sub) (struct script_state *st, struct map_session_data *sd, const char *varname, int elem, void *value, struct reg_db *ref);
+ void (*setd_sub) (struct script_state *st, struct map_session_data *sd, const char *varname, int elem, const void *value, struct reg_db *ref);
void (*attach_state) (struct script_state* st);
/* */
struct script_queue *(*queue) (int idx);