Remove superflous casts and parenthesis.
This commit is contained in:
parent
f883710417
commit
cd73a47dfa
28 changed files with 136 additions and 145 deletions
|
@ -260,7 +260,7 @@ look_land(struct lndstr *lookland)
|
|||
int dist;
|
||||
|
||||
drange = techfact(lookland->lnd_tech, lookland->lnd_spy);
|
||||
drange = (drange * ((double)lookland->lnd_effic / 100.0));
|
||||
drange *= lookland->lnd_effic / 100.0;
|
||||
range = ldround(drange, 1);
|
||||
|
||||
if (range == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue