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
1 changed files with 2 additions and 2 deletions

View File

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