Allow suppressing debugfuzzer warnings
This commit is contained in:
@@ -1551,8 +1551,10 @@ wiz_panic(void)
|
|||||||
static int
|
static int
|
||||||
wiz_fuzzer(void)
|
wiz_fuzzer(void)
|
||||||
{
|
{
|
||||||
pline("The fuzz tester will make NetHack execute random keypresses.");
|
if (flags.suppress_alert < FEATURE_NOTICE_VER(3,7,0)) {
|
||||||
pline("There is no conventional way out of this mode.");
|
pline("The fuzz tester will make NetHack execute random keypresses.");
|
||||||
|
pline("There is no conventional way out of this mode.");
|
||||||
|
}
|
||||||
if (paranoid_query(TRUE, "Do you want to start fuzz testing?"))
|
if (paranoid_query(TRUE, "Do you want to start fuzz testing?"))
|
||||||
iflags.debug_fuzzer = TRUE; /* Thoth, take the reins */
|
iflags.debug_fuzzer = TRUE; /* Thoth, take the reins */
|
||||||
return ECMD_OK;
|
return ECMD_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user