forked from github/server
missing include, do not use fset
This commit is contained in:
parent
902ce9bf69
commit
8a503445f6
3 changed files with 2 additions and 2 deletions
BIN
src/.DS_Store
vendored
Normal file
BIN
src/.DS_Store
vendored
Normal file
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) {
|
static void teaching(scholar *s, int n) {
|
||||||
assert(n <= s->u->number);
|
assert(n <= s->u->number);
|
||||||
s->learn += n;
|
s->learn += n;
|
||||||
fset(s->u, UFL_LONGACTION);
|
s->u->flags |= UFL_LONGACTION;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void learning(scholar *s, int n) {
|
static void learning(scholar *s, int n) {
|
||||||
assert(n <= s->u->number);
|
assert(n <= s->u->number);
|
||||||
s->learn += n;
|
s->learn += n;
|
||||||
fset(s->u, UFL_LONGACTION);
|
s->u->flags |= UFL_LONGACTION;
|
||||||
}
|
}
|
||||||
|
|
||||||
void autostudy_run(scholar scholars[], int nscholars)
|
void autostudy_run(scholar scholars[], int nscholars)
|
||||||
|
|
BIN
src/util/.DS_Store
vendored
Normal file
BIN
src/util/.DS_Store
vendored
Normal file
Binary file not shown.
Loading…
Reference in a new issue