summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorCarlos Henrique <carloshlfzanon@gmail.com>2018-07-29 17:46:13 -0400
committergumi <git@gumi.ca>2018-07-29 17:46:13 -0400
commita65561f0637c8932d840317b48304885e2bf2689 (patch)
tree5a2839257ade778182ca714a31c0791a3a498966 /src/map/atcommand.c
parent26f8f9b4ae981ba14abff0f799463ce4475cd839 (diff)
downloadhercules-a65561f0637c8932d840317b48304885e2bf2689.tar.gz
hercules-a65561f0637c8932d840317b48304885e2bf2689.tar.bz2
hercules-a65561f0637c8932d840317b48304885e2bf2689.tar.xz
hercules-a65561f0637c8932d840317b48304885e2bf2689.zip
add MF_TOWN to atcommand_mapflag
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index bedb58478..bfbb20177 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7688,7 +7688,7 @@ ACMD(mapflag)
CHECKFLAG(nojobexp); CHECKFLAG(nomobloot); CHECKFLAG(nomvploot); CHECKFLAG(nightenabled);
CHECKFLAG(nodrop); CHECKFLAG(novending); CHECKFLAG(loadevent);
CHECKFLAG(nochat); CHECKFLAG(partylock); CHECKFLAG(guildlock); CHECKFLAG(src4instance);
- CHECKFLAG(notomb); CHECKFLAG(nocashshop); CHECKFLAG(noviewid);
+ CHECKFLAG(notomb); CHECKFLAG(nocashshop); CHECKFLAG(noviewid); CHECKFLAG(town);
clif->message(sd->fd," ");
clif->message(sd->fd,msg_fd(fd,1312)); // Usage: "@mapflag monster_noteleport 1" (0=Off | 1=On)
clif->message(sd->fd,msg_fd(fd,1313)); // Type "@mapflag available" to list the available mapflags.
@@ -7730,6 +7730,7 @@ ACMD(mapflag)
SETFLAG(nomvploot); SETFLAG(nightenabled); SETFLAG(nodrop); SETFLAG(novending);
SETFLAG(loadevent); SETFLAG(nochat); SETFLAG(partylock); SETFLAG(guildlock);
SETFLAG(src4instance); SETFLAG(notomb); SETFLAG(nocashshop); SETFLAG(noviewid);
+ SETFLAG(town);
clif->message(sd->fd, msg_fd(fd, 1314)); // Invalid flag name or flag.