Indented with src/scripts/indent-emp.
This commit is contained in:
parent
5f263a7753
commit
9b7adfbecc
437 changed files with 52211 additions and 51052 deletions
|
@ -46,12 +46,12 @@
|
|||
int
|
||||
sinfra(void)
|
||||
{
|
||||
struct sctstr sect;
|
||||
int nsect;
|
||||
struct nstr_sect nstr;
|
||||
double sector_mcost();
|
||||
double sector_strength(struct sctstr *);
|
||||
|
||||
struct sctstr sect;
|
||||
int nsect;
|
||||
struct nstr_sect nstr;
|
||||
double sector_mcost();
|
||||
double sector_strength(struct sctstr *);
|
||||
|
||||
if (!snxtsct(&nstr, player->argp[1]))
|
||||
return RET_SYN;
|
||||
prdate();
|
||||
|
@ -81,7 +81,7 @@ sinfra(void)
|
|||
pr("%4d%% ", sect.sct_rail);
|
||||
pr("%4.3f ", sector_mcost(§, MOB_RAIL));
|
||||
pr("%4d%% ", sect.sct_defense);
|
||||
pr("%5.2f\n", sector_strength(§));
|
||||
pr("%5.2f\n", sector_strength(§));
|
||||
}
|
||||
if (nsect == 0) {
|
||||
if (player->argp[1])
|
||||
|
@ -89,9 +89,7 @@ sinfra(void)
|
|||
else
|
||||
pr("%s: No sector(s)\n", "");
|
||||
return RET_FAIL;
|
||||
}else
|
||||
} else
|
||||
pr("%d sector%s\n", nsect, splur(nsect));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue