Coding style fixes, mostly indentation and whitespace
This commit is contained in:
parent
8a0d117d45
commit
373651359e
47 changed files with 131 additions and 130 deletions
|
@ -45,7 +45,7 @@ deliver(struct sctstr *from, struct ichrstr *ip, int dir,
|
|||
int thresh, int amt_src, int plague, enum i_packing packing)
|
||||
{
|
||||
struct sctstr *to;
|
||||
i_type vtype; /* item vartype */
|
||||
i_type vtype; /* item vartype */
|
||||
int amt_moved;
|
||||
int amt_dst;
|
||||
int mobility;
|
||||
|
|
|
@ -183,8 +183,8 @@ planerepair(struct plnstr *pp, struct natstr *np, struct bp *bp, int etus)
|
|||
delta = 100 - pp->pln_effic;
|
||||
|
||||
memset(mvec, 0, sizeof(mvec));
|
||||
mvec[I_MILIT] = pcp->pl_crew;
|
||||
mvec[I_LCM] = pcp->pl_lcm;
|
||||
mvec[I_MILIT] = pcp->pl_crew;
|
||||
mvec[I_LCM] = pcp->pl_lcm;
|
||||
mvec[I_HCM] = pcp->pl_hcm;
|
||||
build = get_materials(sp, bp, mvec, delta);
|
||||
|
||||
|
|
|
@ -346,7 +346,7 @@ guerrilla(struct sctstr *sp)
|
|||
uw -= n;
|
||||
sp->sct_item[I_UW] = uw;
|
||||
}
|
||||
domove:
|
||||
domove:
|
||||
if (move && che > 0) {
|
||||
struct sctstr *nicest_sp = NULL;
|
||||
if (convert)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue