(explore, ask_move_in_off): Compute weight as double, for consistency
with similar computations elsewhere.
This commit is contained in:
parent
9b282753d6
commit
d8dc8a3257
2 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue