(explore, ask_move_in_off): Compute weight as double, for consistency

with similar computations elsewhere.
This commit is contained in:
Markus Armbruster 2006-05-21 07:42:53 +00:00
parent 9b282753d6
commit d8dc8a3257
2 changed files with 2 additions and 2 deletions

View file

@ -132,7 +132,7 @@ explore(void)
if (amount <= 0)
return RET_SYN;
weight = amount * ip->i_lbs;
weight = (double)amount * ip->i_lbs;
/* remove commodities from source sector */
getsect(x, y, &start);
amt_src = start.sct_item[vtype];