From 1e3877e8a290c435c9279768224ad992291a6312 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 11 Oct 2005 20:37:48 +0000 Subject: [PATCH] =?UTF-8?q?irgend=20etwas=20am=20fixing=20des=20ozean-alte?= =?UTF-8?q?rs=20ist=20nicht=20richtig=20und=20zerst=C3=B6rt=20die=20neuaus?= =?UTF-8?q?setzung.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/eressea/korrektur.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/eressea/korrektur.c b/src/eressea/korrektur.c index 6608e348f..80f24ca09 100644 --- a/src/eressea/korrektur.c +++ b/src/eressea/korrektur.c @@ -791,10 +791,13 @@ road_decay(void) static void frame_regions(void) { +#ifdef AGE_FIX unsigned short ocean_age = (unsigned short)turn; +endif region * r = regions; for (r=regions;r;r=r->next) { direction_t d; +#ifdef AGE_FIX if (rterrain(r) == T_OCEAN && r->age==0) { unsigned short age = 0; direction_t d; @@ -811,7 +814,7 @@ frame_regions(void) } else if (r->age>ocean_age) { ocean_age = r->age; } - +#endif if (r->age<16) continue; if (r->planep) continue; if (r->terrain==T_FIREWALL) continue;