summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorEmistry Haoyan <Equinox1991@gmail.com>2017-08-28 01:12:06 +0800
committerEmistry Haoyan <Equinox1991@gmail.com>2017-10-22 00:15:06 +0800
commit2c2839c6cfb8e788115aa1858ddfbcf31ad3cd2c (patch)
tree8fc2bf5e0a3915d1adff34efc01517944acfc894 /src/map/atcommand.c
parent7c2f6afe542bf42f1c527877bde082274c473f29 (diff)
downloadhercules-2c2839c6cfb8e788115aa1858ddfbcf31ad3cd2c.tar.gz
hercules-2c2839c6cfb8e788115aa1858ddfbcf31ad3cd2c.tar.bz2
hercules-2c2839c6cfb8e788115aa1858ddfbcf31ad3cd2c.tar.xz
hercules-2c2839c6cfb8e788115aa1858ddfbcf31ad3cd2c.zip
Add NoAutoloot mapflag
- Enable server to disable autoloot settings for certain maps.
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 872c31330..6f367b406 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -3906,6 +3906,8 @@ 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.noautoloot)
+ strcat(atcmd_output, msg_fd(fd, 1063)); // NoAutoloot |
if (map->list[m_id].flag.noviewid != EQP_NONE)
strcat(atcmd_output, msg_fd(fd,1079)); // NoViewID |
clif->message(fd, atcmd_output);