forked from github/server
missing include, do not use fset
This commit is contained in:
parent
36b7104ce3
commit
22d0fe5693
Binary file not shown.
|
@ -62,13 +62,13 @@ int autostudy_init(scholar scholars[], int max_scholars, region *r)
|
|||
static void teaching(scholar *s, int n) {
|
||||
assert(n <= s->u->number);
|
||||
s->learn += n;
|
||||
fset(s->u, UFL_LONGACTION);
|
||||
s->u->flags |= UFL_LONGACTION;
|
||||
}
|
||||
|
||||
static void learning(scholar *s, int n) {
|
||||
assert(n <= s->u->number);
|
||||
s->learn += n;
|
||||
fset(s->u, UFL_LONGACTION);
|
||||
s->u->flags |= UFL_LONGACTION;
|
||||
}
|
||||
|
||||
void autostudy_run(scholar scholars[], int nscholars)
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue