Remove superflous casts and parenthesis.

This commit is contained in:
Markus Armbruster 2006-05-21 12:24:30 +00:00
parent f883710417
commit cd73a47dfa
28 changed files with 136 additions and 145 deletions

View file

@ -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)