diff src/rail_cmd.cpp @ 6990:a19700261804 draft

(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
author rubidium <rubidium@openttd.org>
date Thu, 21 Jun 2007 14:32:27 +0000
parents d2846442a133
children 116bea6834a1
line wrap: on
line diff
--- a/src/rail_cmd.cpp
+++ b/src/rail_cmd.cpp
@@ -974,7 +974,7 @@
 CommandCost CmdConvertRail(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
 {
 	CommandCost ret, cost;
-	int32 money;
+	Money money;
 	int ex;
 	int ey;
 	int sx, sy, x, y;