roadveh_cmd.c
changeset 4544 b2d5ad597e4d
parent 4529 2bfac24af02a
child 4546 9345e0569655
--- a/roadveh_cmd.c	Mon Sep 04 06:36:23 2006 +0000
+++ b/roadveh_cmd.c	Mon Sep 04 09:07:52 2006 +0000
@@ -1838,7 +1838,7 @@
 
 	cost = 0;
 	if (IS_HUMAN_PLAYER(v->owner) && new_cid != v->cargo_type) {
-		cost = (EngInfo(v->engine_type)->refit_cost * _price.roadveh_base) >> 10;
+		cost = GetRefitCost(v->engine_type);
 	}
 
 	if (flags & DC_EXEC) {