vehicle.c
changeset 2677 2c1fcffb304c
parent 2676 2ba71e034d97
child 2678 a0af6bded583
--- a/vehicle.c	Fri Nov 18 23:41:03 2005 +0000
+++ b/vehicle.c	Sat Nov 19 00:10:20 2005 +0000
@@ -1565,7 +1565,7 @@
 			continue;
 		}
 
-		cost = DoCommand(x, y, v->engine_type, 2, flags, CMD_BUILD_VEH(v->type));
+		cost = DoCommand(x, y, v->engine_type, 1, flags, CMD_BUILD_VEH(v->type));
 
 		if (CmdFailed(cost)) return cost;
 
@@ -1650,7 +1650,7 @@
 
 	new_engine_type = p->engine_replacement[old_v->engine_type] == INVALID_ENGINE ? old_v->engine_type : p->engine_replacement[old_v->engine_type];
 
-	cost = DoCommand(old_v->x_pos, old_v->y_pos, new_engine_type, 2, flags, CMD_BUILD_VEH(old_v->type));
+	cost = DoCommand(old_v->x_pos, old_v->y_pos, new_engine_type, 1, flags, CMD_BUILD_VEH(old_v->type));
 	if (CmdFailed(cost)) return cost;
 
 	if (flags & DC_EXEC) {