alchemie als default-talent? uh-oh.

This commit is contained in:
Enno Rehling 2002-02-24 13:48:01 +00:00
parent c1a5e55467
commit e6e6e74e41
1 changed files with 1 additions and 3 deletions

View File

@ -940,9 +940,7 @@ learn_skill(unit * u, skill_t sk, double chance)
}
++sv;
}
++u->skill_size;
u->skills = realloc(u->skills, u->skill_size * sizeof(skill));
sv = (u->skills + u->skill_size - 1);
sv = add_skill(u, sk);
sk_set(sv, 1);
return true;
}