irgend etwas am fixing des ozean-alters ist nicht richtig und zerstört die neuaussetzung.

This commit is contained in:
Enno Rehling 2005-10-11 20:37:48 +00:00
parent 14a3077f6e
commit 1e3877e8a2
1 changed files with 4 additions and 1 deletions

View File

@ -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;