summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-25 16:26:17 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-25 16:26:17 +0000
commit59b77fd300765595d6fbf5333cc541f40c2f0cae (patch)
tree0df1df80b728f6cb89b16c4763d3a11007130e58 /src/map/npc.c
parent173a79cfb2cbba5e7b369e1349c0b1d1618b7ab6 (diff)
downloadhercules-59b77fd300765595d6fbf5333cc541f40c2f0cae.tar.gz
hercules-59b77fd300765595d6fbf5333cc541f40c2f0cae.tar.bz2
hercules-59b77fd300765595d6fbf5333cc541f40c2f0cae.tar.xz
hercules-59b77fd300765595d6fbf5333cc541f40c2f0cae.zip
added noVending mapflag. Tested. + custom Market Place NPC, fixed MSG strings
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6755 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 0d28b9699..37e47585c 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2376,6 +2376,9 @@ static int npc_parse_mapflag (char *w1, char *w2, char *w3, char *w4)
else if (strcmpi(w3,"notrade")==0) {
map[m].flag.notrade=state;
}
+ else if (strcmpi(w3,"novending")==0) {
+ map[m].flag.novending=state;
+ }
else if (strcmpi(w3,"nodrop")==0) {
map[m].flag.nodrop=state;
}