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 {
|
} else {
|
||||||
getsect(plane.pln_x, plane.pln_y, §);
|
getsect(plane.pln_x, plane.pln_y, §);
|
||||||
petrol = sect.sct_item[I_PETROL];
|
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)
|
if ((sect.sct_effic < 60 || sect.sct_type != SCT_AIRPT)
|
||||||
&& (pcp->pl_flags & P_V) == 0)
|
&& (pcp->pl_flags & P_V) == 0)
|
||||||
continue;
|
continue;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
if ((float)petrol < (float)pcp->pl_fuel / 2.0)
|
if ((float)petrol < (float)pcp->pl_fuel / 2.0)
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -129,7 +129,6 @@ populace(struct natstr *np, register struct sctstr *sp, int etu)
|
||||||
"Sector %s is now fully yours\n", ownxy(sp));
|
"Sector %s is now fully yours\n", ownxy(sp));
|
||||||
sp->sct_oldown = sp->sct_own;
|
sp->sct_oldown = sp->sct_own;
|
||||||
}
|
}
|
||||||
sp->sct_loyal = 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -57,7 +57,6 @@ produce(struct natstr *np, struct sctstr *sp, short *vec, int work,
|
||||||
int desig, int neweff, int *cost, int *amount)
|
int desig, int neweff, int *cost, int *amount)
|
||||||
{
|
{
|
||||||
register struct pchrstr *product;
|
register struct pchrstr *product;
|
||||||
int vtype;
|
|
||||||
double p_e;
|
double p_e;
|
||||||
double prodeff;
|
double prodeff;
|
||||||
s_char *resource;
|
s_char *resource;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue