summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-10-21 19:32:06 +0200
committerGitHub <noreply@github.com>2017-10-21 19:32:06 +0200
commit58fdbea3d60eea1e6fcbc0dfcaddb85c7c3f1486 (patch)
tree8fafcb8a121e18217c6e50da66c72ca06795b09f /src/map/npc.c
parent10acab2a7742f1257777c9b6e0d900d2729b9839 (diff)
parent2c2839c6cfb8e788115aa1858ddfbcf31ad3cd2c (diff)
downloadhercules-58fdbea3d60eea1e6fcbc0dfcaddb85c7c3f1486.tar.gz
hercules-58fdbea3d60eea1e6fcbc0dfcaddb85c7c3f1486.tar.bz2
hercules-58fdbea3d60eea1e6fcbc0dfcaddb85c7c3f1486.tar.xz
hercules-58fdbea3d60eea1e6fcbc0dfcaddb85c7c3f1486.zip
Merge pull request #1833 from Emistry/mapflag_noautoloot
Add NoAutoloot mapflag
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 6beff2b77..ecf7f878f 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -4300,6 +4300,8 @@ const char *npc_parse_mapflag(const char *w1, const char *w2, const char *w3, co
map->list[m].flag.reset=state;
else if (!strcmpi(w3,"notomb"))
map->list[m].flag.notomb=state;
+ else if (!strcmpi(w3, "noautoloot"))
+ map->list[m].flag.noautoloot = state;
else if (!strcmpi(w3,"adjust_unit_duration")) {
int skill_id, k;
char skill_name[MAP_ZONE_MAPFLAG_LENGTH], modifier[MAP_ZONE_MAPFLAG_LENGTH];