summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorvalaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-20 17:04:06 +0000
committervalaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-20 17:04:06 +0000
commit050f7d33c4e4c849e8c4bc2f37a982d8a93811b8 (patch)
treed22baa09846535eaed015534d4889f719f1b6487 /src/map/npc.c
parentcf6c884771293b2ecd4b491225d4f6bf3476a224 (diff)
downloadhercules-050f7d33c4e4c849e8c4bc2f37a982d8a93811b8.tar.gz
hercules-050f7d33c4e4c849e8c4bc2f37a982d8a93811b8.tar.bz2
hercules-050f7d33c4e4c849e8c4bc2f37a982d8a93811b8.tar.xz
hercules-050f7d33c4e4c849e8c4bc2f37a982d8a93811b8.zip
* Added "nogo" mapflag to prevent the use of @go on a specified map. [Valaris]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@273 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 eea869aa5..ca15afa2b 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2116,6 +2116,9 @@ static int npc_parse_mapflag(char *w1,char *w2,char *w3,char *w4)
else if (strcmpi(w3,"indoors")==0) { // celest
map[m].flag.indoors=1;
}
+ else if (strcmpi(w3,"nogo")==0) { // celest
+ map[m].flag.nogo=1;
+ }
return 0;
}