(sect_has_dock): New.
(fuel, load, nav_loadship): Use it.
This commit is contained in:
parent
80be15204b
commit
14d94c2509
5 changed files with 16 additions and 8 deletions
|
@ -193,8 +193,7 @@ nav_loadship(struct shpstr *sp, natid cnum)
|
|||
didsomething[i] = 1;
|
||||
continue;
|
||||
}
|
||||
if (sectp->sct_type != SCT_HARBR &&
|
||||
!IS_BIG_CITY(sectp->sct_type)) {
|
||||
if (!sect_has_dock(sectp)) {
|
||||
/* we can only load in harbors */
|
||||
didsomething[i] = 1;
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue