diff options
author | rubidium <rubidium@openttd.org> | 2007-06-21 14:32:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-21 14:32:27 +0000 |
commit | 0d8e82b7d742b54216bf6bc8a1d3b4eafe8124ab (patch) | |
tree | 4d9bfa9de886f7ff167c4fa02326f5cd302e8cce /src/rail_cmd.cpp | |
parent | c755fa43d08e5adaad87745769369ec8e5e59915 (diff) | |
download | openttd-0d8e82b7d742b54216bf6bc8a1d3b4eafe8124ab.tar.xz |
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |