summaryrefslogtreecommitdiff
path: root/src/map/npc.c
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/npc.c
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/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 2b1a541d8..93981e312 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -3567,7 +3567,7 @@ int npc_do_atcmd_event(struct map_session_data* sd, const char* command, const c
}
st = script->alloc_state(ev->nd->u.scr.script, ev->pos, sd->bl.id, ev->nd->bl.id);
- script->setd_sub(st, NULL, ".@atcmd_command$", 0, (void *)command, NULL);
+ script->setd_sub(st, NULL, ".@atcmd_command$", 0, command, NULL);
len = strlen(message);
if (len) {