"Trotz Transport: 'Die Einheit transportiert uns nicht.'"

Einheiten auf See duerfen nicht transportieren.
This commit is contained in:
Enno Rehling 2007-02-13 08:19:38 +00:00
parent 88b041880c
commit b954d4a475
1 changed files with 19 additions and 16 deletions

View File

@ -1007,6 +1007,8 @@ init_transportation(void)
/* This calculates the weights of all transported units and /* This calculates the weights of all transported units and
* adds them to an internal counter which is used by travel () to * adds them to an internal counter which is used by travel () to
* calculate effective weight and movement. */ * calculate effective weight and movement. */
if (!fval(r->terrain, SEA_REGION)) {
for (u=r->units; u; u=u->next) { for (u=r->units; u; u=u->next) {
order * ord; order * ord;
int w = 0; int w = 0;
@ -1033,6 +1035,7 @@ init_transportation(void)
} }
} }
} }
}
static boolean static boolean
roadto(const region * r, direction_t dir) roadto(const region * r, direction_t dir)