From 7acf810290e3f5b4c60dd2d90f7f94f99602c6ff Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 6 Mar 2004 18:03:32 +0000 Subject: [PATCH] Fehelr bei doppeltem auftreten von at_reduceproduction durch erneuten vulkanausbruch (doppeltes a_add()) --- src/common/gamecode/randenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/gamecode/randenc.c b/src/common/gamecode/randenc.c index 6cbadadf0..b5568f426 100644 --- a/src/common/gamecode/randenc.c +++ b/src/common/gamecode/randenc.c @@ -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;