From 376a45d9fc475c7b67b65e41f42bf9daadc9d376 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 3 Sep 2016 21:55:51 +0100 Subject: [PATCH] Fix wrong bit-allocation in doc comment of CmdModifyOrder. --- src/order_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 7d59fbeaed..4a6b3ae3b1 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -1339,7 +1339,7 @@ CommandCost CmdMoveOrder(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 * @param flags operation to perform * @param p1 various bitstuffed elements * - p1 = (bit 0 - 19) - ID of the vehicle - * - p1 = (bit 24 - 31) - the selected order (if any). If the last order is given, + * - p1 = (bit 20 - 27) - the selected order (if any). If the last order is given, * the order will be inserted before that one * the maximum vehicle order id is 254. * @param p2 various bitstuffed elements