summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-04-29 08:43:00 +0000
committermaedhros <maedhros@openttd.org>2007-04-29 08:43:00 +0000
commit02e770ff2cf77776252d1481456817950bf138a9 (patch)
tree559214dc543888bbb895568ad27800695218f8d8 /src/ship_cmd.cpp
parentccf4ddc06f1a97ed4eec10f2d04f102e964c7933 (diff)
downloadopenttd-02e770ff2cf77776252d1481456817950bf138a9.tar.xz
(svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, hopefully for good this time.
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp
index dd86a960d..58864273b 100644
--- a/src/ship_cmd.cpp
+++ b/src/ship_cmd.cpp
@@ -1087,6 +1087,8 @@ int32 CmdSendShipToDepot(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
* @param p2 various bitstuffed elements
* - p2 = (bit 0-7) - the new cargo type to refit to (p2 & 0xFF)
* - p2 = (bit 8-15) - the new cargo subtype to refit to
+ * - p2 = (bit 16) - refit only this vehicle (ignored)
+ * @return cost of refit or error
*/
int32 CmdRefitShip(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
{