(fuel, load, prod, max_population, shp_nav_one_sector,

nav_loadship, upd_buildeff): Identify BIG_CITY
(IS_BIG_CITY) by using packing type of UPKG instead of
opt_BIG_CITY and sector type of SCT_CAPITAL.
This commit is contained in:
Ron Koenderink 2005-11-14 13:52:12 +00:00
parent d581485d32
commit a2798857cf
8 changed files with 36 additions and 40 deletions

View file

@ -192,7 +192,7 @@ nav_loadship(struct shpstr *sp, natid cnum)
continue;
}
if (sectp->sct_type != SCT_HARBR &&
(!opt_BIG_CITY || sectp->sct_type != SCT_CAPIT)) {
!IS_BIG_CITY(sectp->sct_type)) {
/* we can only load in harbors */
didsomething[i] = 1;
continue;