summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-21 20:19:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-21 20:19:18 +0300
commit3f33ff4a513e82b1dd4dce738608f25b06afa70c (patch)
treef9e0226313b6b2d4b8e78d71b5a4724a3f19a05e
parent8ddb9ad13a1ad2e829a72564ce885896ac5a628b (diff)
downloadevol-hercules-3f33ff4a513e82b1dd4dce738608f25b06afa70c.tar.gz
evol-hercules-3f33ff4a513e82b1dd4dce738608f25b06afa70c.tar.bz2
evol-hercules-3f33ff4a513e82b1dd4dce738608f25b06afa70c.tar.xz
evol-hercules-3f33ff4a513e82b1dd4dce738608f25b06afa70c.zip
Add missing const into enpc_parse_unknown_mapflag.
-rw-r--r--src/emap/npc.c2
-rw-r--r--src/emap/npc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/npc.c b/src/emap/npc.c
index fa09bc6..1772c0b 100644
--- a/src/emap/npc.c
+++ b/src/emap/npc.c
@@ -22,7 +22,7 @@
#include "emap/struct/npcdext.h"
#include "emap/npc.h"
-void enpc_parse_unknown_mapflag(const char *name, char *w3, char *w4, const char* start,
+void enpc_parse_unknown_mapflag(const char *name, const char *w3, const char *w4, const char* start,
const char* buffer, const char* filepath, int *retval)
{
if (!strcmpi(w3, "invisible"))
diff --git a/src/emap/npc.h b/src/emap/npc.h
index 42938f6..2be72e0 100644
--- a/src/emap/npc.h
+++ b/src/emap/npc.h
@@ -4,7 +4,7 @@
#ifndef EVOL_MAP_NPC
#define EVOL_MAP_NPC
-void enpc_parse_unknown_mapflag(const char *name, char *w3, char *w4, const char* start,
+void enpc_parse_unknown_mapflag(const char *name, const char *w3, const char *w4, const char* start,
const char* buffer, const char* filepath, int *retval);
int enpc_buysellsel(TBL_PC* sd, int *id, int *type);