(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:
parent
d581485d32
commit
a2798857cf
8 changed files with 36 additions and 40 deletions
|
@ -165,6 +165,7 @@ extern int sctoff(coord x, coord y);
|
|||
|
||||
extern struct dchrstr dchr[SCT_MAXDEF + 1];
|
||||
extern struct dchrstr bigcity_dchr;
|
||||
#define IS_BIG_CITY(sect) (dchr[sect].d_pkg == UPKG)
|
||||
|
||||
/* Minimal efficiency of sectors that can be knocked down (bridges) */
|
||||
#define SCT_MINEFF 20
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue