summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2018-03-24 21:41:05 +0000
committerAsheraf <acheraf1998@gmail.com>2018-05-04 16:11:52 +0100
commit394e7f8752ae7c80786e202c8b859488db1af363 (patch)
tree3a329478e75881cba950165454b1f402fe38f171 /src/map/npc.c
parentd6785d389cbee4f34078f6762626ca61b2d6cc25 (diff)
downloadhercules-394e7f8752ae7c80786e202c8b859488db1af363.tar.gz
hercules-394e7f8752ae7c80786e202c8b859488db1af363.tar.bz2
hercules-394e7f8752ae7c80786e202c8b859488db1af363.tar.xz
hercules-394e7f8752ae7c80786e202c8b859488db1af363.zip
Implementation of Private AirShip
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 94ab57bd9..d361f2e90 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -4517,6 +4517,10 @@ const char *npc_parse_mapflag(const char *w1, const char *w2, const char *w3, co
map->list[m].flag.nocashshop = (state) ? 1 : 0;
} else if (!strcmpi(w3,"noviewid")) {
map->list[m].flag.noviewid = (state) ? atoi(w4) : 0;
+ } else if (!strcmpi(w3, "pairship_startable")) {
+ map->list[m].flag.pairship_startable = (state) ? 1 : 0;
+ } else if (!strcmpi(w3, "pairship_endable")) {
+ map->list[m].flag.pairship_endable = (state) ? 1 : 0;
} else {
npc->parse_unknown_mapflag(mapname, w3, w4, start, buffer, filepath, retval);
}