that's all folks. no more static curse_type caches.

This commit is contained in:
Enno Rehling 2016-08-29 20:36:26 +01:00
parent 873e6f8086
commit d0c1b2daa4

View file

@ -3260,8 +3260,8 @@ fighter *make_fighter(battle * b, unit * u, side * s1, bool attack)
/* Effekte von Sprüchen */ /* Effekte von Sprüchen */
{ if (u->attribs) {
static const curse_type *speed_ct; const curse_type *speed_ct;
speed_ct = ct_find("speed"); speed_ct = ct_find("speed");
if (speed_ct) { if (speed_ct) {
curse *c = get_curse(u->attribs, speed_ct); curse *c = get_curse(u->attribs, speed_ct);