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
1 changed files with 19 additions and 16 deletions
|
@ -1007,6 +1007,8 @@ init_transportation(void)
|
|||
/* This calculates the weights of all transported units and
|
||||
* adds them to an internal counter which is used by travel () to
|
||||
* calculate effective weight and movement. */
|
||||
|
||||
if (!fval(r->terrain, SEA_REGION)) {
|
||||
for (u=r->units; u; u=u->next) {
|
||||
order * ord;
|
||||
int w = 0;
|
||||
|
@ -1032,6 +1034,7 @@ init_transportation(void)
|
|||
if (w > 0) a_add(&u->attribs, a_new(&at_driveweight))->data.i = w;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static boolean
|
||||
|
|
Loading…
Reference in a new issue