From 0a9cab1109fb9d39d9f496df07bafcb2ad69d38c Mon Sep 17 00:00:00 2001 From: Fiztba <35464167+Fiztba@users.noreply.github.com> Date: Tue, 5 Nov 2019 08:15:09 -0500 Subject: [PATCH] Zonereset Fix (#60) * Fixed Zoneresets Confirmation Message * Quick fix for Zonereset Toggle --- src/act.h | 4 ++-- src/act.informative.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/act.h b/src/act.h index 41b7688..93cce58 100644 --- a/src/act.h +++ b/src/act.h @@ -220,12 +220,12 @@ ACMD(do_gen_tog); #define SCMD_AUTOMAP 25 #define SCMD_AUTOKEY 26 #define SCMD_AUTODOOR 27 -#define SCMD_COLOR 28 +#define SCMD_ZONERESETS 28 #define SCMD_SYSLOG 29 #define SCMD_WIMPY 30 #define SCMD_PAGELENGTH 31 #define SCMD_SCREENWIDTH 32 -#define SCMD_ZONERESETS 33 +#define SCMD_COLOR 33 /* do_quit */ ACMD(do_quit); diff --git a/src/act.informative.c b/src/act.informative.c index 17467cf..e1187ef 100644 --- a/src/act.informative.c +++ b/src/act.informative.c @@ -1918,14 +1918,14 @@ ACMD(do_toggle) {"autodoor", PRF_AUTODOOR, 0, "You will now need to specify a door direction when opening, closing and unlocking.\r\n", "You will now find the next available door when opening, closing or unlocking.\r\n"}, - {"color", 0, 0, "\n", "\n"}, + {"zoneresets", PRF_ZONERESETS, LVL_IMPL, + "You will no longer see zone resets.\r\n", + "You will now see zone resets.\r\n"}, {"syslog", 0, LVL_IMMORT, "\n", "\n"}, {"wimpy", 0, 0, "\n", "\n"}, {"pagelength", 0, 0, "\n", "\n"}, {"screenwidth", 0, 0, "\n", "\n"}, - {"zoneresets", PRF_ZONERESETS, LVL_IMPL, - "You will no longer see zone resets.\r\n", - "You will now see zone resets.\r\n"}, + {"color", 0, 0, "\n", "\n"}, {"\n", 0, -1, "\n", "\n"} /* must be last */ };