summaryrefslogtreecommitdiff
path: root/src/map/npc_chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc_chat.c')
-rw-r--r--src/map/npc_chat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc_chat.c b/src/map/npc_chat.c
index f7c955257..e77c93020 100644
--- a/src/map/npc_chat.c
+++ b/src/map/npc_chat.c
@@ -479,8 +479,8 @@ int mob_chat_sub(struct block_list *bl, va_list ap){
int buildin_defpattern(struct script_state *st) {
int setid=conv_num(st,& (st->stack->stack_data[st->start+2]));
- char *pattern=conv_str(st,& (st->stack->stack_data[st->start+3]));
- char *label=conv_str(st,& (st->stack->stack_data[st->start+4]));
+ const char *pattern=conv_str(st,& (st->stack->stack_data[st->start+3]));
+ const char *label=conv_str(st,& (st->stack->stack_data[st->start+4]));
struct npc_data *nd=(struct npc_data *)map_id2bl(st->oid);
npc_chat_def_pattern(nd, setid, pattern, label);