Remove superfluous parenthesis.
This commit is contained in:
parent
799ca210ff
commit
cc791bcbe2
3 changed files with 4 additions and 4 deletions
|
@ -168,7 +168,7 @@ budg(void)
|
||||||
pr("Estimated delta\t\t\t\t\t\t %+10d\n", income - expenses);
|
pr("Estimated delta\t\t\t\t\t\t %+10d\n", income - expenses);
|
||||||
pr("Estimated new treasury%s\n",
|
pr("Estimated new treasury%s\n",
|
||||||
dotsprintf(buf, "%50d", np->nat_money + income - expenses));
|
dotsprintf(buf, "%50d", np->nat_money + income - expenses));
|
||||||
if (((np->nat_money + income - expenses) < 0) && !player->god) {
|
if (np->nat_money + income - expenses < 0 && !player->god) {
|
||||||
pr("After processsing sectors, you will be broke!\n");
|
pr("After processsing sectors, you will be broke!\n");
|
||||||
pr("Sectors will not produce, distribute, or deliver!\n\n");
|
pr("Sectors will not produce, distribute, or deliver!\n\n");
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,7 +103,7 @@ hard(void)
|
||||||
if (hcm <= n)
|
if (hcm <= n)
|
||||||
n = hcm;
|
n = hcm;
|
||||||
pln.pln_harden += n;
|
pln.pln_harden += n;
|
||||||
player->dolcost += (5.0 * n);
|
player->dolcost += 5.0 * n;
|
||||||
putplane(pln.pln_uid, &pln);
|
putplane(pln.pln_uid, &pln);
|
||||||
sect.sct_item[I_HCM] = hcm - n;
|
sect.sct_item[I_HCM] = hcm - n;
|
||||||
putsect(§);
|
putsect(§);
|
||||||
|
|
|
@ -1136,7 +1136,7 @@ att_combat_eff(struct combat *com)
|
||||||
eff = com->eff / 100.0;
|
eff = com->eff / 100.0;
|
||||||
if (com->own == player->cnum) {
|
if (com->own == player->cnum) {
|
||||||
str = com->sct_dcp->d_ostr;
|
str = com->sct_dcp->d_ostr;
|
||||||
eff = 1.0 + ((str - 1.0) * eff);
|
eff = 1.0 + (str - 1.0) * eff;
|
||||||
} else
|
} else
|
||||||
eff = sector_strength(getsectp(com->x, com->y));
|
eff = sector_strength(getsectp(com->x, com->y));
|
||||||
} else if (com->type == EF_SHIP && com->own != player->cnum) {
|
} else if (com->type == EF_SHIP && com->own != player->cnum) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue