summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
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/atcommand.c
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/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 9d03dd057..e223f698c 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -3917,7 +3917,7 @@ ACMD(mapinfo)
strcat(atcmd_output, msg_fd(fd,1096)); // PartyLock |
if (map->list[m_id].flag.guildlock)
strcat(atcmd_output, msg_fd(fd,1097)); // GuildLock |
- if (map->list[m_id].flag.noviewid)
+ if (map->list[m_id].flag.noviewid != EQP_NONE)
strcat(atcmd_output, msg_fd(fd,1079)); // NoViewID |
clif->message(fd, atcmd_output);