diff options
author | valaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-20 17:04:06 +0000 |
---|---|---|
committer | valaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-20 17:04:06 +0000 |
commit | 050f7d33c4e4c849e8c4bc2f37a982d8a93811b8 (patch) | |
tree | d22baa09846535eaed015534d4889f719f1b6487 /src/map/atcommand.c | |
parent | cf6c884771293b2ecd4b491225d4f6bf3476a224 (diff) | |
download | hercules-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/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 2739a5cf8..265180932 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -2740,6 +2740,11 @@ int atcommand_go( char output[200]; int m; + if(map[sd->bl.m].flag.nogo) { + clif_displaymessage(sd->fd,"You can not use @go on this map."); + return 0; + } + struct { char map[16]; int x, y; } data[] = { { "prontera.gat", 156, 191 }, // 0=Prontera { "morocc.gat", 156, 93 }, // 1=Morroc |