this is probably correct with respect to http://bugs.eressea.de/view.php?id=1808

This commit is contained in:
Enno Rehling 2010-10-05 22:10:44 -07:00
parent bfbe9b373b
commit 6ce601828b

View file

@ -197,7 +197,7 @@ teach_unit(unit * teacher, unit * student, int nteaching, skill_t sk,
return 0; return 0;
} }
n = 30; n = 30 * student->number;
a = a_find(student->attribs, &at_learning); a = a_find(student->attribs, &at_learning);
if (a!=NULL) { if (a!=NULL) {
teach = (teaching_info*)a->data.v; teach = (teaching_info*)a->data.v;