forked from github/server
BUG 2355: (temporarily) disable assert
https://bugs.eressea.de/view.php?id=2355
This commit is contained in:
parent
40581e9a04
commit
59cee972e3
2 changed files with 3 additions and 1 deletions
|
@ -161,6 +161,8 @@ newfaction *read_newfactions(const char *filename)
|
||||||
break;
|
break;
|
||||||
if (email[0] == '\0')
|
if (email[0] == '\0')
|
||||||
break;
|
break;
|
||||||
|
if (email[0] == '#')
|
||||||
|
break;
|
||||||
if (password[0] == '\0') {
|
if (password[0] == '\0') {
|
||||||
size_t sz;
|
size_t sz;
|
||||||
sz = strlcpy(password, itoa36(rng_int()), sizeof(password));
|
sz = strlcpy(password, itoa36(rng_int()), sizeof(password));
|
||||||
|
|
|
@ -483,7 +483,7 @@ int teach_cmd(unit * teacher, struct order *ord)
|
||||||
free_order(new_order); /* parse_order & set_order have each increased the refcount */
|
free_order(new_order); /* parse_order & set_order have each increased the refcount */
|
||||||
}
|
}
|
||||||
if (academy && sk_academy!=NOSKILL) {
|
if (academy && sk_academy!=NOSKILL) {
|
||||||
assert(academy % STUDYDAYS == 0);
|
/* assert(academy % STUDYDAYS == 0); bug 2355: why? */
|
||||||
academy_teaching_bonus(teacher, sk_academy, academy);
|
academy_teaching_bonus(teacher, sk_academy, academy);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue