Remove superflous casts and parenthesis.
This commit is contained in:
parent
f883710417
commit
cd73a47dfa
28 changed files with 136 additions and 145 deletions
|
@ -1005,7 +1005,7 @@ plane_sweep(struct emp_qelem *plane_list, coord x, coord y)
|
|||
if (!(pcp->pl_flags & P_SWEEP)) /* if it isn't an sweep plane */
|
||||
continue;
|
||||
|
||||
if (chance(((double)(100 - pp->pln_acc)) / 100.0)) {
|
||||
if (chance((100.0 - pp->pln_acc) / 100.0)) {
|
||||
pr("Sweep! in %s\n",
|
||||
xyas(sect.sct_x, sect.sct_y, pp->pln_own));
|
||||
mines_there--;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue