summaryrefslogtreecommitdiff
path: root/src/emap/npc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-30 21:10:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-30 21:10:18 +0300
commit2c9c1e2eb8e74a6f8d9765993365648555ddf9b0 (patch)
treeb2f83e8dda892954898205526bd0d4796ba52641 /src/emap/npc.c
parentb826af28255cbd69318929aeb06b4164feed5588 (diff)
downloadevol-hercules-2c9c1e2eb8e74a6f8d9765993365648555ddf9b0.tar.gz
evol-hercules-2c9c1e2eb8e74a6f8d9765993365648555ddf9b0.tar.bz2
evol-hercules-2c9c1e2eb8e74a6f8d9765993365648555ddf9b0.tar.xz
evol-hercules-2c9c1e2eb8e74a6f8d9765993365648555ddf9b0.zip
Add missing checks.
Diffstat (limited to 'src/emap/npc.c')
-rw-r--r--src/emap/npc.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/emap/npc.c b/src/emap/npc.c
index 1fd3328..f4cb0f2 100644
--- a/src/emap/npc.c
+++ b/src/emap/npc.c
@@ -22,8 +22,13 @@
#include "emap/struct/npcdext.h"
#include "emap/npc.h"
-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)
+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"))
{