(fuel): Change extra from float to double, because its value is always
computed and used in double.
This commit is contained in:
parent
8646d6f6d0
commit
222847bb75
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ fuel(void)
|
||||||
int land_fuel, ship_fuel;
|
int land_fuel, ship_fuel;
|
||||||
int oil_amt, pet_amt, fuel_amt, tot_fuel, max_amt;
|
int oil_amt, pet_amt, fuel_amt, tot_fuel, max_amt;
|
||||||
int move_amt;
|
int move_amt;
|
||||||
float extra;
|
double extra;
|
||||||
struct sctstr sect;
|
struct sctstr sect;
|
||||||
struct natstr *natp;
|
struct natstr *natp;
|
||||||
int harbor, sector;
|
int harbor, sector;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue