Remove superfluous parenthesis.

This commit is contained in:
Markus Armbruster 2007-12-13 21:32:34 +00:00
parent 799ca210ff
commit cc791bcbe2
3 changed files with 4 additions and 4 deletions

View file

@ -168,7 +168,7 @@ budg(void)
pr("Estimated delta\t\t\t\t\t\t %+10d\n", income - expenses);
pr("Estimated new treasury%s\n",
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("Sectors will not produce, distribute, or deliver!\n\n");
}

View file

@ -103,7 +103,7 @@ hard(void)
if (hcm <= n)
n = hcm;
pln.pln_harden += n;
player->dolcost += (5.0 * n);
player->dolcost += 5.0 * n;
putplane(pln.pln_uid, &pln);
sect.sct_item[I_HCM] = hcm - n;
putsect(&sect);