(coas, skyw): Don't convert value of tfact() to float and back.

This commit is contained in:
Markus Armbruster 2006-05-21 07:24:49 +00:00
parent 16b9c41b39
commit 416fe3d42d
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ coas(void)
int x, y; int x, y;
int mink, minj, maxk, maxj; int mink, minj, maxk, maxj;
int nship = 0; int nship = 0;
float tech; double tech;
struct nstr_item ni; struct nstr_item ni;
if (!snxtsct(&nstr, player->argp[1])) if (!snxtsct(&nstr, player->argp[1]))

View file

@ -69,7 +69,7 @@ skyw(void)
int x, y; int x, y;
int mink, minj, maxk, maxj; int mink, minj, maxk, maxj;
int nsat = 0; int nsat = 0;
float tech; double tech;
struct nstr_item ni; struct nstr_item ni;
if (!snxtsct(&nstr, player->argp[1])) if (!snxtsct(&nstr, player->argp[1]))