diff src/roadveh_cmd.cpp @ 6953:41fd36025784 draft

(svn r10208) -Codechange: replace int32 with Money where appropriate.
author rubidium <rubidium@openttd.org>
date Mon, 18 Jun 2007 21:44:47 +0000 (2007-06-18)
parents d2846442a133
children cb6b3e277df0
line wrap: on
line diff
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -373,7 +373,7 @@
 		DeleteVehicle(v);
 	}
 
-	return CommandCost(-(int32)v->value);
+	return CommandCost(-v->value);
 }
 
 struct RoadFindDepotData {