summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorCarlos Henrique <carloshlfzanon@gmail.com>2018-09-20 16:08:47 -0300
committerCarlos Henrique <carloshlfzanon@gmail.com>2018-12-04 16:32:11 -0200
commit582336dff2bffba506891a54ecd9360e4fbdd65c (patch)
tree298a860fa285a1bc1d430322373b8b776de5fa2a /src/map/map.h
parent41d370cd3308be48b4ce00a50ee46515742978b0 (diff)
downloadhercules-582336dff2bffba506891a54ecd9360e4fbdd65c.tar.gz
hercules-582336dff2bffba506891a54ecd9360e4fbdd65c.tar.bz2
hercules-582336dff2bffba506891a54ecd9360e4fbdd65c.tar.xz
hercules-582336dff2bffba506891a54ecd9360e4fbdd65c.zip
Added mapflags 'nostorage' and 'nogstorage'
nostorage 1 -- blocks only @storage nostorage 2 -- blocks only openstorage(); nostorage 3 -- blocks @storage and openstorage() nogstorage 1 -- blocks only @gstorage nogstorage 2 -- blocks only guildopenstorage(); nogstorage 3 -- blocks @gstorage and guildopenstorage()
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 4267c2c88..25ff63edc 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -899,6 +899,8 @@ struct map_data {
unsigned noautoloot : 1;
unsigned pairship_startable : 1;
unsigned pairship_endable : 1;
+ unsigned nostorage : 2;
+ unsigned nogstorage : 2;
uint32 noviewid; ///< noviewid (bitmask - @see enum equip_pos)
} flag;
struct point save;