summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-12 16:56:33 +0100
committerHaru <haru@dotalux.com>2016-01-12 17:28:40 +0100
commited05ed85c0bc44980168f730d02dfd379a2bfda9 (patch)
treead2e3ef67876d58982eb355cab55f8b9a2551585 /src/map/map.h
parentc01f74557fb80e8d99fa54140d4741d34a4d5019 (diff)
downloadhercules-ed05ed85c0bc44980168f730d02dfd379a2bfda9.tar.gz
hercules-ed05ed85c0bc44980168f730d02dfd379a2bfda9.tar.bz2
hercules-ed05ed85c0bc44980168f730d02dfd379a2bfda9.tar.xz
hercules-ed05ed85c0bc44980168f730d02dfd379a2bfda9.zip
Replaced 22-bit mask entry with a regular uint32 in the noviewid mapflag implementation
As per ultramage's suggestion in #926 Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 13b7880bd..ff7ca2d38 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -716,7 +716,7 @@ struct map_data {
unsigned noknockback : 1;
unsigned notomb : 1;
unsigned nocashshop : 1;
- unsigned noviewid : 22;
+ uint32 noviewid; ///< noviewid (bitmask - @see enum equip_pos)
} flag;
struct point save;
struct npc_data *npc[MAX_NPC_PER_MAP];