more bot() tinkering
This commit is contained in:
@@ -245,7 +245,7 @@ do_statusline2(void)
|
||||
void
|
||||
bot(void)
|
||||
{
|
||||
if (gp.program_state.in_getlin)
|
||||
if (gb.bot_disabled)
|
||||
return;
|
||||
/* dosave() flags completion by setting u.uhp to -1; suppress_map_output()
|
||||
covers program_state.restoring and is used for status as well as map */
|
||||
@@ -267,7 +267,7 @@ bot(void)
|
||||
void
|
||||
timebot(void)
|
||||
{
|
||||
if (gp.program_state.in_getlin)
|
||||
if (gb.bot_disabled)
|
||||
return;
|
||||
/* we're called when iflags.time_botl is set and general gc.context.botl
|
||||
is clear; iflags.time_botl gets set whenever gm.moves changes value
|
||||
|
||||
Reference in New Issue
Block a user