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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user