forked from github/server
alchemie als default-talent? uh-oh.
This commit is contained in:
parent
c1a5e55467
commit
e6e6e74e41
|
@ -940,9 +940,7 @@ learn_skill(unit * u, skill_t sk, double chance)
|
||||||
}
|
}
|
||||||
++sv;
|
++sv;
|
||||||
}
|
}
|
||||||
++u->skill_size;
|
sv = add_skill(u, sk);
|
||||||
u->skills = realloc(u->skills, u->skill_size * sizeof(skill));
|
|
||||||
sv = (u->skills + u->skill_size - 1);
|
|
||||||
sk_set(sv, 1);
|
sk_set(sv, 1);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue