summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r--src/viewport.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index 2be6ec1d1..f536d09e8 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -2023,8 +2023,9 @@ static byte Check2x1AutoRail(int mode)
* north-south (DIR_S) to obtain the same results with less code. This is what
* the return value signifies.
* @param style HighLightStyle dragging style
- * @param start_tile, end_tile start and end tile of drag
- * @param boolean value which when true means start/end should be swapped */
+ * @param start_tile start tile of drag
+ * @param end_tile end tile of drag
+ * @return boolean value which when true means start/end should be swapped */
static bool SwapDirection(HighLightStyle style, TileIndex start_tile, TileIndex end_tile)
{
uint start_x = TileX(start_tile);