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:16 +00:00
parent dbe21d9d47
commit ac63c6284f
1 changed files with 1 additions and 1 deletions

View File

@ -785,7 +785,7 @@ volcano_outbreak(region *r)
rsettrees(r, 0); rsettrees(r, 0);
#endif #endif
a = a_add(&rn->attribs, a_new(&at_reduceproduction)); a = a_find(rn->attribs, &at_reduceproduction);
if (!a) a = a_add(&r->attribs, a_new(&at_reduceproduction)); if (!a) a = a_add(&r->attribs, a_new(&at_reduceproduction));
/* Produktion vierteln ... */ /* Produktion vierteln ... */