drain_exp an den alten erwartungswert wieder angepasst.

This commit is contained in:
Enno Rehling 2002-02-03 08:54:36 +00:00
parent 451542789f
commit e8545f9c64

View file

@ -976,9 +976,11 @@ drain_exp(unit *u, int n)
} }
if (sk != NOSKILL) { if (sk != NOSKILL) {
n = min(n, get_skill(u, sk)); n = min(n, get_skill(u, sk));
if (learn_skill(u, sk, n) {
change_skill(u, sk, -1); change_skill(u, sk, -1);
} }
} }
}
#endif #endif
const char * const char *