Rebase of Hvy Metal I final version
Straightforward forward port. Drop the code to reset track on startup. It's not necessary, and it breaks linking of empdump.
This commit is contained in:
parent
abd64835c7
commit
5d0f5e69ee
25 changed files with 349 additions and 25 deletions
|
@ -157,7 +157,8 @@ upd_ship(struct shpstr *sp, int etus,
|
|||
|
||||
/* produce oil */
|
||||
if (np->nat_money >= 0
|
||||
&& (mp->m_flags & M_OIL) && sectp->sct_type == SCT_WATER) {
|
||||
&& (mp->m_flags & M_OIL) && sectp->sct_type == SCT_WATER
|
||||
&& sp->shp_mobil >= ship_mob_max) {
|
||||
product = &pchr[dchr[SCT_OIL].d_prd];
|
||||
oil_gained = roundavg(total_work(100, etus,
|
||||
sp->shp_item[I_CIVIL],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue