forked from github/server
"Trotz Transport: 'Die Einheit transportiert uns nicht.'" Einheiten auf See duerfen nicht transportieren.
This commit is contained in:
parent
88b041880c
commit
b954d4a475
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue