Applied knc's fix to let authorized GMs use @go on 'nogo'-flagged maps.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11691 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2007-11-07 08:34:10 +00:00
parent f47413c0fa
commit ed0f069c10

View File

@ -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;
}