startup menu crash follow up (trunk only)

Pat:
Either both editions [of bot()] should reset those botl flags
or neither one should.
This commit is contained in:
nethack.allison
2006-07-01 19:32:27 +00:00
parent 2b8903cd7a
commit 13eeae9523

View File

@@ -611,9 +611,13 @@ bot()
boolean valset[MAXBLSTATS];
if (!blinit) panic("bot before init.");
if (!youmonst.data) return;
if (!youmonst.data) {
context.botl = context.botlx = 0;
update_all = FALSE;
return;
}
cap = near_capacity();
idx_p = idx;
idx = 1 - idx; /* 0 -> 1, 1 -> 0 */