Fehelr bei doppeltem auftreten von at_reduceproduction durch erneuten vulkanausbruch (doppeltes a_add())

This commit is contained in:
Enno Rehling 2004-03-06 18:03:32 +00:00
parent ac63c6284f
commit 7acf810290
1 changed files with 1 additions and 1 deletions

View File

@ -786,7 +786,7 @@ volcano_outbreak(region *r)
#endif
a = a_find(rn->attribs, &at_reduceproduction);
if (!a) a = a_add(&r->attribs, a_new(&at_reduceproduction));
if (!a) a = a_add(&rn->attribs, a_new(&at_reduceproduction));
/* Produktion vierteln ... */
a->data.sa[0] = 25;