Remove dead code.
This commit is contained in:
parent
e1ebe41686
commit
ed5c1b00ee
3 changed files with 0 additions and 7 deletions
|
@ -1071,14 +1071,9 @@ getilist(struct emp_qelem *list, natid own, struct emp_qelem *a,
|
|||
} else {
|
||||
getsect(plane.pln_x, plane.pln_y, §);
|
||||
petrol = sect.sct_item[I_PETROL];
|
||||
#if 0
|
||||
if (sect.sct_effic < 60 && (pcp->pl_flags & P_V) == 0)
|
||||
continue;
|
||||
#else
|
||||
if ((sect.sct_effic < 60 || sect.sct_type != SCT_AIRPT)
|
||||
&& (pcp->pl_flags & P_V) == 0)
|
||||
continue;
|
||||
#endif
|
||||
}
|
||||
if ((float)petrol < (float)pcp->pl_fuel / 2.0)
|
||||
continue;
|
||||
|
|
|
@ -129,7 +129,6 @@ populace(struct natstr *np, register struct sctstr *sp, int etu)
|
|||
"Sector %s is now fully yours\n", ownxy(sp));
|
||||
sp->sct_oldown = sp->sct_own;
|
||||
}
|
||||
sp->sct_loyal = 0;
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
|
|
@ -57,7 +57,6 @@ produce(struct natstr *np, struct sctstr *sp, short *vec, int work,
|
|||
int desig, int neweff, int *cost, int *amount)
|
||||
{
|
||||
register struct pchrstr *product;
|
||||
int vtype;
|
||||
double p_e;
|
||||
double prodeff;
|
||||
s_char *resource;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue