From 0d8e82b7d742b54216bf6bc8a1d3b4eafe8124ab Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 21 Jun 2007 14:32:27 +0000 Subject: (svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch. --- src/rail_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rail_cmd.cpp') diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 9c9dc791a..6dc6d36a6 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -974,7 +974,7 @@ extern CommandCost DoConvertTunnelBridgeRail(TileIndex tile, RailType totype, bo 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; -- cgit v1.2.3-54-g00ecf