Remove redundant casts of argument to (prototyped) double parameter.
This commit is contained in:
parent
7c3899bf89
commit
7ed308526c
19 changed files with 82 additions and 93 deletions
|
@ -803,9 +803,8 @@ quiet_bigdef(int attacker, struct emp_qelem *list, natid own, natid aown,
|
|||
if (ship.shp_mobil <= 0)
|
||||
continue;
|
||||
*/
|
||||
erange = ship.shp_effic *
|
||||
techfact(ship.shp_tech, ((double)ship.shp_frnge))
|
||||
/ 100.0;
|
||||
erange = ship.shp_effic
|
||||
* techfact(ship.shp_tech, ship.shp_frnge) / 100.0;
|
||||
erange = (double)roundrange(erange);
|
||||
range = mapdist(ship.shp_x, ship.shp_y, ax, ay);
|
||||
if (range > erange)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue