(deliver): Change mcost from float to double, because it's used as
double but never as float. This avoids converting the value of sector_mcost() to float and back.
This commit is contained in:
parent
416fe3d42d
commit
9b282753d6
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ deliver(struct sctstr *from, struct ichrstr *ip, int dir,
|
||||||
int amt_moved;
|
int amt_moved;
|
||||||
int amt_dst;
|
int amt_dst;
|
||||||
int mobility;
|
int mobility;
|
||||||
float mcost;
|
double mcost;
|
||||||
struct dchrstr *dp;
|
struct dchrstr *dp;
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue