From 59cee972e336c7a63989056514fe3c43de02ee08 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 6 Aug 2017 21:27:20 +0200 Subject: [PATCH] BUG 2355: (temporarily) disable assert https://bugs.eressea.de/view.php?id=2355 --- src/modules/autoseed.c | 2 ++ src/study.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/autoseed.c b/src/modules/autoseed.c index ffab4ca46..6e2599763 100644 --- a/src/modules/autoseed.c +++ b/src/modules/autoseed.c @@ -161,6 +161,8 @@ newfaction *read_newfactions(const char *filename) break; if (email[0] == '\0') break; + if (email[0] == '#') + break; if (password[0] == '\0') { size_t sz; sz = strlcpy(password, itoa36(rng_int()), sizeof(password)); diff --git a/src/study.c b/src/study.c index ddded23cc..85ff0b436 100644 --- a/src/study.c +++ b/src/study.c @@ -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 */ } if (academy && sk_academy!=NOSKILL) { - assert(academy % STUDYDAYS == 0); + /* assert(academy % STUDYDAYS == 0); bug 2355: why? */ academy_teaching_bonus(teacher, sk_academy, academy); } return 0;