]> git.pond.sub.org Git - empserver/commitdiff
(fuel): Change extra from float to double, because its value is always
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 6 May 2006 09:02:03 +0000 (09:02 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 6 May 2006 09:02:03 +0000 (09:02 +0000)
computed and used in double.

src/lib/commands/fuel.c

index 43c22698aed454638da960786473af83ae24498c..210027cb56e10bfde5794ccae517bfd13e23f3da 100644 (file)
@@ -67,7 +67,7 @@ fuel(void)
     int land_fuel, ship_fuel;
     int oil_amt, pet_amt, fuel_amt, tot_fuel, max_amt;
     int move_amt;
-    float extra;
+    double extra;
     struct sctstr sect;
     struct natstr *natp;
     int harbor, sector;