forked from github/server
bugfix
This commit is contained in:
parent
4c463f1fc3
commit
f9a39f6717
|
@ -220,7 +220,7 @@ kor_teure_talente(unit *u)
|
||||||
const skill_t expskills[] = { SK_ALCHEMY, SK_HERBALISM, SK_MAGIC, SK_SPY, SK_TACTICS, NOSKILL };
|
const skill_t expskills[] = { SK_ALCHEMY, SK_HERBALISM, SK_MAGIC, SK_SPY, SK_TACTICS, NOSKILL };
|
||||||
skill * sv = u->skills;
|
skill * sv = u->skills;
|
||||||
for (;sv!=u->skills+u->skill_size;++sv) {
|
for (;sv!=u->skills+u->skill_size;++sv) {
|
||||||
int l = 0, h = 4;
|
int l = 0, h = 5;
|
||||||
skill_t sk = sv->id;
|
skill_t sk = sv->id;
|
||||||
assert(expskills[h]==NOSKILL);
|
assert(expskills[h]==NOSKILL);
|
||||||
while (l<h) {
|
while (l<h) {
|
||||||
|
|
Loading…
Reference in New Issue