(coas, skyw): Don't convert value of tfact() to float and back.
This commit is contained in:
parent
16b9c41b39
commit
416fe3d42d
2 changed files with 2 additions and 2 deletions
|
@ -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]))
|
||||||
|
|
|
@ -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]))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue