summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-23 02:20:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-23 02:20:03 +0300
commit371293407ca9937a03942a2f8e32f2eb7c87940c (patch)
tree3cc7f056d64216bd144daabfb774db7e7836cef1 /src/map/npc.c
parentab9362782312ad81ef1c1d47dcac464607a710a2 (diff)
downloadevol-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.c2
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)