diff options
author | rubidium <rubidium@openttd.org> | 2007-06-18 21:44:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-18 21:44:47 +0000 |
commit | 2ee73b50b8dae28f53acabcb5b7c0e3f02139db2 (patch) | |
tree | 56cef93f015d710536a1801fe14c3095d290a172 /src/roadveh_cmd.cpp | |
parent | 7a72dcb3b57b70214c4d402be89f9b1dd158d790 (diff) | |
download | openttd-2ee73b50b8dae28f53acabcb5b7c0e3f02139db2.tar.xz |
(svn r10208) -Codechange: replace int32 with Money where appropriate.
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r-- | src/roadveh_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index c5426eaeb..5688b47c0 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -373,7 +373,7 @@ CommandCost CmdSellRoadVeh(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) DeleteVehicle(v); } - return CommandCost(-(int32)v->value); + return CommandCost(-v->value); } struct RoadFindDepotData { |