(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
|
@ -46,11 +46,9 @@ max_population(float research, int desig, int eff)
|
|||
int maxpop = dchr[desig].d_maxpop;
|
||||
int rmax;
|
||||
|
||||
if (opt_BIG_CITY) {
|
||||
/* city efficiency limits maximum population */
|
||||
if (dchr[desig].d_pkg == UPKG)
|
||||
maxpop *= 1 + 9.0 * eff / 100;
|
||||
}
|
||||
/* city efficiency limits maximum population */
|
||||
if (IS_BIG_CITY(desig))
|
||||
maxpop *= 1 + 9.0 * eff / 100;
|
||||
|
||||
if (opt_RES_POP) {
|
||||
/* research limits maximum population */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue