summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorEmistry Haoyan <equinox1991@gmail.com>2020-03-08 05:18:26 +0800
committerJesusaves <cpntb1@ymail.com>2021-02-14 15:40:16 -0300
commit46e3a24ef647e5be1e10ae448d6572c93fa6ddf8 (patch)
tree9ac5a1739187063859bb303fb20ffe988bd84238 /src/map/map.h
parent121af65aca1025ef69bbbb1b41a84f500ca815c6 (diff)
downloadhercules-46e3a24ef647e5be1e10ae448d6572c93fa6ddf8.tar.gz
hercules-46e3a24ef647e5be1e10ae448d6572c93fa6ddf8.tar.bz2
hercules-46e3a24ef647e5be1e10ae448d6572c93fa6ddf8.tar.xz
hercules-46e3a24ef647e5be1e10ae448d6572c93fa6ddf8.zip
[TMW2 CHERRYPICK] Add NoPet mapflag
- allow to set nopet mapflag at any maps. - mapflag to disable pet, and force return to egg. Original commit d3c24f7d9ae
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 6b360e1bc..b9199f3bb 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -787,6 +787,7 @@ struct map_data {
unsigned pairship_endable : 1;
unsigned nostorage : 2;
unsigned nogstorage : 2;
+ unsigned nopet : 1;
uint32 noviewid; ///< noviewid (bitmask - @see enum equip_pos)
} flag;
struct point save;