forked from github/server
that's all folks. no more static curse_type caches.
This commit is contained in:
parent
873e6f8086
commit
d0c1b2daa4
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue