summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c5
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