summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-18 21:44:47 +0000
committerrubidium <rubidium@openttd.org>2007-06-18 21:44:47 +0000
commit23727da96f66d7df800cc5aa70d05abce8002d79 (patch)
tree56cef93f015d710536a1801fe14c3095d290a172 /src/ship_cmd.cpp
parent7dda2d93da840519f1388d0191a00362ff97feb6 (diff)
downloadopenttd-23727da96f66d7df800cc5aa70d05abce8002d79.tar.xz
(svn r10208) -Codechange: replace int32 with Money where appropriate.
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp
index 27840c9e3..90edf4719 100644
--- a/src/ship_cmd.cpp
+++ b/src/ship_cmd.cpp
@@ -929,7 +929,7 @@ CommandCost CmdSellShip(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
DeleteVehicle(v);
}
- return CommandCost(-(int32)v->value);
+ return CommandCost(-v->value);
}
/** Start/Stop a ship.