From b1aadd3b9262fcc43a53e52f619fbab7e7c4b896 Mon Sep 17 00:00:00 2001 From: Christian Schlittchen Date: Sun, 3 Mar 2002 12:04:03 +0000 Subject: [PATCH] - Samenausbreitung in Nachbarregionen gefixt. Routine seltsam. --- src/common/gamecode/laws.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index 3ac7794a0..7f9e158bc 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -804,7 +804,7 @@ trees(region * r, const int current_season, const int last_weeks_season) /* Gesamtzahl der Samen: * bis zu 6% (FORESTGROWTH*3) der Bäume samen in die Nachbarregionen */ - seeds = (rtrees(r, 2) * FORESTGROWTH * 3)/100; + seeds = (rtrees(r, 2) * FORESTGROWTH * 3)/1000000; for (d=0;d!=MAXDIRECTIONS;++d) { region * r2 = rconnect(r, d); if (r2 && (terrain[r2->terrain].flags & WALK_INTO)) { @@ -814,7 +814,7 @@ trees(region * r, const int current_season, const int last_weeks_season) * verfügbaren Fläche ab. In Gletschern gibt es weniger * Möglichkeiten als in Ebenen. */ sprout = 0; - seedchance = 100 * maxworkingpeasants(r2) / terrain[r2->terrain].production_max; + seedchance = (100 * maxworkingpeasants(r2)) / terrain[r2->terrain].production_max; for(i=0; i