forked from github/server
extremely old bug in encounters()
This commit is contained in:
parent
080a85021f
commit
3a3628d3a9
1 changed files with 15 additions and 14 deletions
|
@ -393,6 +393,7 @@ encounters(void)
|
|||
|
||||
for (u = r->units; u; u = u->next) {
|
||||
if (i+u->number>n) break;
|
||||
i+=u->number;
|
||||
}
|
||||
assert(u && u->number);
|
||||
encounter(r, u);
|
||||
|
|
Loading…
Reference in a new issue