From 9b282753d645d82b6cec057b4ac8cb3216b33dc1 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 21 May 2006 07:27:11 +0000 Subject: [PATCH] (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. --- src/lib/update/deliver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/update/deliver.c b/src/lib/update/deliver.c index 555e0f87..c6992b7f 100644 --- a/src/lib/update/deliver.c +++ b/src/lib/update/deliver.c @@ -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;