summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-10-25 12:27:34 -0200
committershennetsind <ind@henn.et>2013-10-25 12:27:34 -0200
commita2405882a4123d6a11d24e895b40148dc7cb455e (patch)
treed59518bedb632136115dabf218933f73c2e92350 /src/map/npc.c
parentbf27a9e0cf1bfe9be298c4191010ba6876457d64 (diff)
downloadhercules-a2405882a4123d6a11d24e895b40148dc7cb455e.tar.gz
hercules-a2405882a4123d6a11d24e895b40148dc7cb455e.tar.bz2
hercules-a2405882a4123d6a11d24e895b40148dc7cb455e.tar.xz
hercules-a2405882a4123d6a11d24e895b40148dc7cb455e.zip
test
Signed-off-by: shennetsind <ind@henn.et>
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 79e976bb3..e4416c19f 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -3444,6 +3444,8 @@ const char* npc_parse_mapflag(char* w1, char* w2, char* w3, char* w4, const char
map->list[m].long_damage_rate = (state) ? atoi(w4) : 100;
} else if ( !strcmpi(w3,"src4instance") ) {
map->list[m].flag.src4instance = (state) ? 1 : 0;
+ } else if ( !strcmpi(w3,"nocashshop") ) {
+ map->list[m].flag.nocashshop = (state) ? 1 : 0;
} else
ShowError("npc_parse_mapflag: unrecognized mapflag '%s' (file '%s', line '%d').\n", w3, filepath, strline(buffer,start-buffer));