diff options
author | Haru <haru@dotalux.com> | 2016-02-19 18:46:18 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-03-20 18:32:07 +0100 |
commit | 8c9e9668cef87ab9595bde6608de424072cc752d (patch) | |
tree | 3645ce8adc6146a867ffd564006d2d8e0b7b1eef /src/map/npc.c | |
parent | 138956dcf9415353a4f67de6bc66efa23a04e61c (diff) | |
download | hercules-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.c | 2 |
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) { |