summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-15 21:07:00 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-15 21:07:00 +0000
commitbde640d49c4a26203d76ea5884c1264b3f7828e2 (patch)
tree35be87ac5f58dcdb1a389da9db6fc77db1b9c4d7 /src/map/npc.c
parent29424f4862169ff53b78b233a1ef490329817f0f (diff)
downloadhercules-bde640d49c4a26203d76ea5884c1264b3f7828e2.tar.gz
hercules-bde640d49c4a26203d76ea5884c1264b3f7828e2.tar.bz2
hercules-bde640d49c4a26203d76ea5884c1264b3f7828e2.tar.xz
hercules-bde640d49c4a26203d76ea5884c1264b3f7828e2.zip
- Added mapflag nodrop, fixed mapflag notrade.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5619 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 e3abe5eaa..1fc99de95 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2546,6 +2546,9 @@ static int npc_parse_mapflag (char *w1, char *w2, char *w3, char *w4)
else if (strcmpi(w3,"notrade")==0) {
map[m].flag.notrade=1;
}
+ else if (strcmpi(w3,"nodrop")==0) {
+ map[m].flag.nodrop=1;
+ }
else if (strcmpi(w3,"noskill")==0) {
map[m].flag.noskill=1;
}