]> git.pond.sub.org Git - empserver/commitdiff
(coas, skyw): Don't convert value of tfact() to float and back.
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 21 May 2006 07:24:49 +0000 (07:24 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 21 May 2006 07:24:49 +0000 (07:24 +0000)
src/lib/commands/coas.c
src/lib/commands/skyw.c

index 91dfed37c01f600c618748598a138dae35658a56..28324317007c2b9422f2036cbfe2e91de39658c7 100644 (file)
@@ -71,7 +71,7 @@ coas(void)
     int x, y;
     int mink, minj, maxk, maxj;
     int nship = 0;
-    float tech;
+    double tech;
     struct nstr_item ni;
 
     if (!snxtsct(&nstr, player->argp[1]))
index 047690162d37f19bf40fa696d73d4ed2d6188d7b..90f27b7e49c8672c25ac3254c4628043cfe7437b 100644 (file)
@@ -69,7 +69,7 @@ skyw(void)
     int x, y;
     int mink, minj, maxk, maxj;
     int nsat = 0;
-    float tech;
+    double tech;
     struct nstr_item ni;
 
     if (!snxtsct(&nstr, player->argp[1]))