diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-23 02:20:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-23 02:20:03 +0300 |
commit | 371293407ca9937a03942a2f8e32f2eb7c87940c (patch) | |
tree | 3cc7f056d64216bd144daabfb774db7e7836cef1 /src/map/npc.c | |
parent | ab9362782312ad81ef1c1d47dcac464607a710a2 (diff) | |
download | evol-hercules-371293407ca9937a03942a2f8e32f2eb7c87940c.tar.gz evol-hercules-371293407ca9937a03942a2f8e32f2eb7c87940c.tar.bz2 evol-hercules-371293407ca9937a03942a2f8e32f2eb7c87940c.tar.xz evol-hercules-371293407ca9937a03942a2f8e32f2eb7c87940c.zip |
Fix hookStop usage.
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 74ec586..aba7288 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -23,7 +23,6 @@ void enpc_parse_unknown_mapflag(const char *name, char *w3, char *w4, const char* start, const char* buffer, const char* filepath, int *retval) { - hookStop(); if (!strcmpi(w3, "invisible")) { int16 m = map->mapname2mapid(name); @@ -51,6 +50,7 @@ void enpc_parse_unknown_mapflag(const char *name, char *w3, char *w4, const char if (retval) *retval = EXIT_FAILURE; } + hookStop(); } int enpc_buysellsel(struct map_session_data* sd, int *id, int *type) |