From 416fe3d42d67accb0a88f12cd6709430fd818afd Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 21 May 2006 07:24:49 +0000 Subject: [PATCH] (coas, skyw): Don't convert value of tfact() to float and back. --- src/lib/commands/coas.c | 2 +- src/lib/commands/skyw.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/commands/coas.c b/src/lib/commands/coas.c index 91dfed37..28324317 100644 --- a/src/lib/commands/coas.c +++ b/src/lib/commands/coas.c @@ -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])) diff --git a/src/lib/commands/skyw.c b/src/lib/commands/skyw.c index 04769016..90f27b7e 100644 --- a/src/lib/commands/skyw.c +++ b/src/lib/commands/skyw.c @@ -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]))