(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:
Markus Armbruster 2006-05-21 07:27:11 +00:00
parent 416fe3d42d
commit 9b282753d6

View file

@ -55,7 +55,7 @@ deliver(struct sctstr *from, struct ichrstr *ip, int dir,
int amt_moved;
int amt_dst;
int mobility;
float mcost;
double mcost;
struct dchrstr *dp;
int n;