src/roadveh_cmd.cpp
changeset 6953 230d1e3ac86c
parent 6950 14ecb0acdfb4
child 6980 c7c4f3bf5901
--- a/src/roadveh_cmd.cpp	Mon Jun 18 21:00:14 2007 +0000
+++ b/src/roadveh_cmd.cpp	Mon Jun 18 21:44:47 2007 +0000
@@ -373,7 +373,7 @@
 		DeleteVehicle(v);
 	}
 
-	return CommandCost(-(int32)v->value);
+	return CommandCost(-v->value);
 }
 
 struct RoadFindDepotData {