diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-07 08:34:10 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-07 08:34:10 +0000 |
commit | a78edf2b3c8b22ff202ee43261f89c42e2313657 (patch) | |
tree | e06ce22eb23108d97bcf38e11a4503a30defb44d /src | |
parent | 53ff28bfc805862d09f32fa2f7b4330c7365e084 (diff) | |
download | hercules-a78edf2b3c8b22ff202ee43261f89c42e2313657.tar.gz hercules-a78edf2b3c8b22ff202ee43261f89c42e2313657.tar.bz2 hercules-a78edf2b3c8b22ff202ee43261f89c42e2313657.tar.xz hercules-a78edf2b3c8b22ff202ee43261f89c42e2313657.zip |
Applied knc's fix to let authorized GMs use @go on 'nogo'-flagged maps.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11691 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 0109cf290..43294ca87 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -2263,7 +2263,7 @@ int atcommand_go(const int fd, struct map_session_data* sd, const char* command, nullpo_retr(-1, sd); - if(map[sd->bl.m].flag.nogo) { + if( map[sd->bl.m].flag.nogo && battle_config.any_warp_GM_min_level > pc_isGM(sd) ) { clif_displaymessage(sd->fd,"You can not use @go on this map."); return 0; } |